Merge pull request #126 from nicolabricot/master

Fix security problem
Show public IP on detail page
using sohu's IP query service
Revert "Show public IP on detail page"
will sooner move the function into lib/
This reverts commit 300e659b2ac02656d7c34401231a631cee065c99.
Rewrite the function for external ip
now both internal and external ip will be shown on home and detail page
Add error handler for function 'file_get_contents'
return 'Unavailable' when error occurred
Merge pull request #128 from Harry-Chen/master

Add a function which shows the public IP when Pi is in a LAN