Updated gitignore and removed some folders

I updated the gitignore to ignore everything inside the applications
folder (because each application will be a separate project) but include
the index.php inside the applications folder. This index.php file will
redirect the user if he tries to enter the applications folder without
entering a real directory inside of it.