Fix bug with start and pause button

Clicking several time on start button would trigger several timer and
break both the speed of the simulation and the pause button.

Add a quick example on how to use php to build a list of patterns and
call javascript.

Added the pattern directory with the gosper gun ;)