Merge pull request #5 from mwoc/master

make Spot\Query->count() use the sql function COUNT(*)
Merge pull request #6 from mwoc/master

bug fix to PDO Abstract Adapter 'count' method
Adapter: Updated config/DSN parsing to use 'host' instead of more obscure 'hostspec'
Fixed typo in Entity Manager that prevented field properties from merging properly in some situations
Made Spot\Config Serializable [fixes #7]

* Added serialize and unserialize methods to Config with \Serializable
* Added tests to ensure Config can be serialized and unserialized
* Updated CRUD test due to PHPUnit 3.6 boolean strictness
Moved Entity error messages on Entity object

* Moved 'hasErrors', 'errors', and 'error' methods to Entity from Mapper
* Deprecated Mapper-based error message lookups
* Mapper using 'isEmpty' method instead of 'empty' to allow '0' string
* Updated Relations test to use 'errors' from Entity
* Added new tests around Entity error methods
Modified base PDO/Abstract to throw Exceptions

* Base PDO/Adapter no longer supresses Exceptions [fixes #10]
* Fixed syntax error in update migrations

Thanks @TheSavior
Fixed 'toString' bug [fixes #13]

* RelationAbstract::__toString() now calls 'execute'
Create returns 'true' even with no PK [fixes #12]

* Base PDO Adapter returns Primary Key lastInsertId on create
* Returns 'true' if lastInsertId not available (no PK field)
Added basic query cache with tests
Added query log limit with default of 200

* Long-running scrips that run thousands of queries can exhaust
  available memory without query log limit
Removed duplicate Query\Interface
Enabled composer support
Moved library in 'lib/' subfolder for composer compatability
Version Bump
Fixed Relation issue

 * Fixed issue in relation where passthru __call would fail if execute()
returned a non-object
Quote fields when accessed via the PDO adapter.
Merge pull request #5 from pnomolos/mysql_quoting

Quote fields when accessed via the PDO adapter.
New pluggable type system for Entities

 * New 'typeHanlder' method on \Spot\Config to set/get type handlers
 * Defaults: string, int, float, boolean, datetime, date, timestamp,
   year, month, day
 * Whitespace trimming in various files
Fixing case-sensitive issue