Removing some dead code / unused functions from lib.php. Part of #1400
Merge branch 'master' of github.com:bolt/bolt