Fixed extension package creation

It was all kinds of broken
Fixed extension package creation

It was all kinds of broken
Renamed all instances of module to extension
fixed my conflicts
Merge branch 'fix_ext_build' into module_to_extension
Let's not expose an REST API for now
Require passport for LDAP auth
Merge branch 'master' of github.com:pangea/xcore
Merge branch 'master' into module_to_extension

Conflicts:
	scripts/xcore
Merge branch 'module_to_extension'