add authorization generation to app controller and resource listing
Add @authorize_with to controller/api declaration.
Merge pull request #11 from tpitale/authorization

Authorization, first pass