Added serialize method to collections
Added get_entity_id, connect, disconnect, get_connections, and get_connecting to Entity
Merge pull request #45 from r3b/php-connections

Php connections