Modified for using in Apache2.4 (using namebased virtualhost)

Ubuntu 13.10 has migrated to Apache2.4 which is using name based virtual hosts. This means that you can host multiple virtualhost on the sam IP address, by default 127.0.0.1. I have modified this bash script for using name based virtual hosts automatic adding/removing.