Make packageName optional

This allows AMD modules to be compiled without a package name. In the case where packageName is blank, it will simply use the file name.

// @jnicklas & @burgestrand