Remove use of deprecated spatialite functions

Use *_ex threadsafe functions instead.
FMDatabaseQueue subclass using SpatialDatabase
Podspec