Admin settings form will now display even if the Repository is not accessible.

Also includes some general clean up.
* Namespaces no longer uses ajax now uses states.
* Abstracted out repository access message into a seperate function.
* Simplified the code.
Removed uneeded wrapper element from namespace tab on admin config.
Merge pull request #350 from nigelgbanks/7.x-admin-menu

Admin settings form will now display even if the Repository is not acces...