Add *.pyc to .gitignore

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
Add mergejs tool and split main.js

Mergejs tool is used to produce single main.js file
from multiple source *.js files. It supports simple
dependency specification by directive require("name").

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
Remove UnityDockItem from JS API

Will be re-implemented as Nuvola.Launcher component.

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
Load extensions before web engine is loaded

WebEngine runs scripts that call JS API provided by extensions
and obviously fail when extensions aren't loaded.

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
Remove some debugging code

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
mergejs: Raise RecursionError instead of Exception

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
Mergejs: Raise NotFoundError

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
Mergejs: Raise ParseError on invalid require

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
Use Nuvola.Core namespace for core signals

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>