Add a package/application convenience layer

Introduce a new module, called package, which includes convenience
API and a set of simple conventions for packaged applications.
The module takes care of setting up private search paths for JS
modules (as resources, if possible) and private typelibs, and
it optionally does gettext too.

https://bugzilla.gnome.org/show_bug.cgi?id=690136