Add tearDown to TestProjectFunctional

And get rid of the

```
SAWarning: At least one scoped session is already present.  configure() can no t affect sessions that have already been created.
```

that occurs on the second (and next) call to the `osmtm.main` function (which calls `configure` on the `DBSession`).