Fix Xcode 6 error about initializer not calling another initializer

Also prefixed category methods with bdb_. Will be doing the same to dictionaryFromQueryString: in the 1.5 release.
Update to use instancetype instead of id
Update demo projects for iPhone 6/+ compatibility