added messages index
added more results abstraction, moved token to header
fixed tests
code format
Merged 'dev'.

Conflicts:
	app/controllers/MessageController.scala
submodule
Finish refactoring