Fix the duration property on Program

Duration is an integer not a boolean value.
Use isDeleted instead of getDeleted in Program entity.
Merge pull request #689 from jrjohnson/fixprogramentity

Fix Program Entity
WIP. Still working on the User Controller
WIP. Having problems with routes mixing annotation and rest
WIP. Still working on the User Controller
Fixing things for DI, + comments from PR
Adding sleketon files for interfaces and managers
Entities done.
Fixed ns
Autogenerated managers.
Fixing namespace
Adding managers
Autogenerated interfaces. Must add docblocks.
Fix newlines
Autogenerated interfaces
Added Entity Managers
refactoring models.
Changed entity to model. Cleaning up more models.