Update .gitignore to include test files
Modify naming to make less confusing.
Add helper functions and modify code to use them.
Create vhost class (vhosts are now objects).

Created a class which contains all relevant information for a vhost including
document root, name etc. An Apache VirtualHost can now be compiled as a method
of the class assuming the relevant properties exist.