Add localnet to 'show globals' output. Parse localnet correctly. Fix cleanup_stale_contexts (clang complaint).

git-svn-id: https://svn.code.sf.net/p/chan-sccp-b/code/trunk@5041 43c1dc8c-776e-4df2-8ef1-6e829299be21