yo compatibility update

Hi,
Your generator is exactly what I need but It wasn't working anymore, so I made some updates.
In the process I made some updates to match my workflow. Keep what you want from it. 

[fix] *yo* compatibility update
[upd] moved javascript files to the *root*
[upd] added an *examples* forlder
[add] a *grunt* task to serve the *examples* folder

Bye,
**Plou**