Add qunit task, and tests
Add casperjs tests
Add generate menu items from JSON
Note:smaller commits are better