Added snippet repository

Not sure about using the QueryBuilder.

+ Its cleaner
+ It allows you to set max and offset of the results
+ No string concatenation

- Adding a new method to the content mapper (loadByQuery)
- ...

@wachterjohannes @danrot @chirimoya wdyt?