Minor fixes and improvements in the navigation among records.
Tidied up the graph template and search code.
Merge branch 'master' of github.com:kcl-ddh/digipal