Initial code commit
Added helpGetEntityById to the EntityPool
Added helper functions for faster SQL-Querying.
Added helper functions for relations
Changed wrong PHPdoc-comment.
Renamed method to delete entities

Renamed from 'deleteEntity' to 'delete'
Added support for nice JSON-Serialisation.