Fixed up cache memcache and apc drivers to be fully dependency injected.

Simplified cache_memcache_driver::get_multi()'s logic (no more key_prefix needed since it's done on instantiation).

Rearranged cache drivers to have $pool as the first parameter.

Simplified the shit out of record_dao and link_dao by making them into objects instead of being static. This of course means all the entity dao classes need to be updated, since all their member functions are static.

Created entity_dao class to deal with DAO pooling (since it would be wasteful to instantiate these DAO classes over and over again.

Updated generator classes to deal with static function changes (more are needed).

Removed CACHE/SOURCE related consts from DAO classes.

Remoed the need for a special pdo lib function to deal with bindParams and bindings. Now DAO definitions have the PDO binding vals right in them.

link_drivers and record_drivers both use type hinting for $self params now.

Re-activated memcache's keyprefix with OPT_PREFIX_KEY since that bug appears to be fixed.

Still a bunch of stuff to do before this is usable.
Removed SOURCE_ENGINE,READ,WRITE and CACHE_ENGINE,READ,WRITE from entity definition files.

Un-static-ed all the DAO functions.
Added missing USING_PAGINATED const to DAO definitions. (this is temporary, i think i'm going to remove this after).

Fixed a bunch of bugs caused by DAO changes.
Fixed bug in entity_dao, when combining config info.
Removed "default_" prefix to default entity configs.
Renamed record_dao, record_model, record_collection to be entity_record_dao, entity_record_model, entity_record_collection, same for links.
Renamed entity_dao::get() to entity::dao()

Fixed some lingering static dao methods.
Slight speed improvements to entity_record_collection.
Updated cache_lib test.
Merge pull request #1 from neoform/object-daos

object-daos branch merged into master.