Updated require dependencies.

Added some .gitignore entries.
Made it work with php internal webserver.