Move the enterprise extentions after static modules

The enterprise modules might want to reference modules
in the static modules, which will fail unless they're
defined before being referenced.

Change-Id: I11ef4f94d7a320307b47509f12e0de97076c6d76
Reviewed-on: http://review.couchbase.org/43548
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>