Generalise performAURSearch to performSingleQuery.

This allows for any single AUR query to be passed to this function.
Add code and tests for info query.
Merge branch 'api'