Removing usage of user id in API URL

    - Relying solely on authentication to obtain user id
Using latest version (3.0.0) of postgresql puppet module
Merge branch 'no-user-url'
Moving Test factories from tests folder to the app root
Added TreatmentFactory for tests