Split up html demo and server side demo.

I split up demos so that the stand alone html demo still works and there
is a server side demo (php/mysql).
Merge pull request #7 from dimxasnewfrozen/master

Split up the server side code so that the HTML demo still works.