Use hook in to create location link.  Added two new functions to FOGBase.class.php.  array_insert_before and after to make inserting links at a specific point that much easier.  Based on information from: http://eosrei.net/articles/2011/11/php-arrayinsertafter-arrayinsertbefore.  Also fixes seemingly random inability to use plugins on plugin page.

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