Configuring redirect listener in the transaction interceptor

Adding redirect listener in the interceptor to guarantee that transaction is committed properly and configuring maven to compile classes with Java 1.7.

That's similar to what we did on this [vraptor4 pull request](https://github.com/caelum/vraptor4/pull/148).