Implement build and test tasks

Also added missing files from original repository:
* test/index.html
* libs/jquery
* libs/oojs
* libs/qunitjs

Change-Id: If5e7207116b5b122dacab1494b7a8fdf27e5ab5a