removed unused simpletree javascript plugin
added is_https() function and exit function after a couple header redirect functions