Support for export default {...} syntax

Issue 486

- Refactor out support for export default = { ... } syntax
- Add tests for other export default cases