commonjs support

Support for commonjs modules for apps.

@zendesk/quokka