code cleanup
added functions isDev(), isRemotehost(), and isLive() as aliases of isLocalhost(). added isBeta()
added template.class to framework. changed behavior of disabled page to load 404 Uri. commented out testing-acceptance.inc. code cleanup.