Jaas authentication

Add JAAS authentication support, store users and authenticate using PostgreSQL, introduce standalone embedded jetty server usable in any context (for instance tests), make servlet a jar package and provide separate web application module to build a war package with.