Move the location stuff into it's own hook rather than directly coded in our stuff as it is designed to be a plugin, not directly coded.

git-svn-id: https://svn.code.sf.net/p/freeghost/code/trunk@2425 71f96598-fa45-0410-b640-bcd6f8691b32
Merge svn with master