Added UserService test; moved contexts to resources; changed AbstractModel.id to Long (from int); externalized flyway config