Allow requiring submodules within a module

For example

```js
var component = require('flight/lib/component');
```

This is important for larger AMD projects that contain multiple .js files.