Your contacts should sync automatically, as long as your N1 was synced with a Google account. The Market will remember any app purchases. To make things even more painless, use AppMonster to back up your downloaded apps to a microSD card, and then use it to restore them to the new phone.