scripts/sloccount: Rename sources to client/server
scripts/sloccount: Add bin/build script
pages/search: Redirect single results to record page

Issue #327.
Merge branch 'issue/327'