Fix war overlay in functional-test

- added a new module to create the overlay (with only needed code and libraries)
- functional test will no longer build war overlay but just executing tests
It not only generates test data, but also, at least for now, opens up some more REST endpoints to do things that can't be done in production yet. i.e. adding a new language or add someone to a language team. Because it's only used by test so it's not fully designed with security check etc. I think we better make it clear it's for test only. How about war-extension-for-test? or zanata-test-war? 

----- Original Message -----

> From: "Sean Flanigan" <notifications@github.com>
> To: "zanata/zanata-server" <zanata-server@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Thursday, August 14, 2014 4:03:58 PM
> Subject: Re: [zanata-server] Fix war overlay in functional-test (#556)

> In overlay-for-test/pom.xml:
> > @@ -0,0 +1,193 @@
> > +<?xml version="1.0"?>
> > +<project
> > +  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/xsd/maven-4.0.0.xsd"
> > +  xmlns="http://maven.apache.org/POM/4.0.0"
> > +  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > +  <modelVersion>4.0.0</modelVersion>
> > +  <parent>
> > +    <groupId>org.zanata</groupId>
> > +    <artifactId>server</artifactId>
> > +    <version>3.5.0-SNAPSHOT</version>
> > +  </parent>
> > +  <artifactId>overlay-for-test</artifactId>
> > +  <name>overlay-for-test</name>

> That's not very descriptive. Can we call it test-data-generator or something?

> —
> Reply to this email directly or view it on GitHub .