Ignores production build.
Fixes make tasks.
Multiple fixes.

- Adds proper test setup for pg tests
- Renames queries
- Adds queries tests
- Creates collections
- Adds association between items and collections
- Misc fixes and refactor