Added escape characters for repository class name

Fixed issue: https://github.com/flack/createphp/issues/65

This will change the createphp_attributes output to something like:
xmlns:schema="http://schema.org/" typeof="schema:Page" about="Acme-DemoBundle-Entity-Page|id=1"

And added the unescape for getBySubject class name.
Changed check for class name for the class loader
Removed escape function for class name
Changed order for function replacement classname
Added test for Entity name for DoctrineOrmMapper

This wil validate if the Subjectname does not contain backslashes
Merge pull request #66 from rudott/patch-1

Added escape characters for repository class name