Added detection in tests when on Travis CI

Users of the bundle can now add the path to the vendor directory in their
application to run tests.
Getting a new entity manager on tear down.
Suppressing warning of undefined env variable.
Checking for a different env variable
Adding a unit test to test the form type.
Merge pull request #1 from tomfriedhof/master

Added detection in tests when on Travis CI