General update to get doctrine tested/working

* Added copyright stuff to all files
* Added doctrine cli script
* Added dependency on symfony/config to parse yaml and use file locator
* General dependency update
* There is now a config.yml.dist that needs to be copied over to config.yml
  with the proper db info to work correctly.
* Edited and fixed a few of the doctrine annotations.
* Fixed a typehint.
* Fixed a namespacing issue.
Fixing unit test
Merge pull request #2 from pleonasm/mnagi

General update to get doctrine tested/working