Added Config class to handle some common config file actions, started converting NoSQL classes to accept configs (not completely done yet), added check for parse error in Template::compilePHP(), updated tests