Add repo summary to returned JSON data

This also includes the ability to search for a module via the `q` HTTP GET
parameter.
Refactor code
Merge pull request #1 from mawuli-ypa/modules-api-search

Add repo summary to returned JSON data