fix AngularJS app name

In main.html.scala app name (html) is incorrect and provoke a JS error :
	Uncaught Error: No module: html
I changed it to app to get things working.
fix CRUD update with method PUT

When you use $save method of AngularJS ngRessource, it use POST method for creates AND updates.
So updates do not work while autosource expect a PUT method on update.
It's shown by a 404 error in JS console : POST http://localhost:9000/person/529f1459307f1add00c67ed0 404 (Not Found)
Add needed imports on security part

On the security part, we need to add two more imports which are not showed.
When you work with text editor, it's important to know all needed imports because they are not suggested
Add routes for login/logout actions

Do a little step to help having authentication working.
Should be nice to add some UI code but it's probably not the goal of this article