Move account service into a separate application

The account related business logic is moved into a separate enterprise
application and is exposed as an EJB. Packaging the EJB as an EJB
archive does not suffice, because EJB archives are not supposed to
contain dependencies.