Pull Request to update to iOS 6 database

In iOS 6, Apple updated their database storage system. Their new database simplifies things greatly and removes the need to differentiate between SMS and iMessage. Apple's soon to be released Messages app will include the new database system as well. Apple will auto-update old databases to the new version. This update is meant to be used only with the new database system.