The city dug deep into its past and posted online 17th-century manuscripts from the time when New York was known as New Amsterdam — the first step in an effort to digitize the historical records of city government.