Closes mongodb connections in tests

Before, for each app the connection was kept open. This could cause
problems if the server wasn't configure to support as many connections
as testss.
Javier Gonel
ulimit not needed anymore. See #283.
No need to increase ulimit on most systems.
Merge branch 'graffic-tests-mongodb-connections' into develop