Move db reference into Service model so it can be overridden.
Add tests
Merge branch 'feature/tests'. Just a little testy.

Conflicts:
	notifications/services.py