Fix for export function named() { ... } statements

- Update foo.js fixture to have a named function export
- Update test to make sure named function export is present
- Update logic for export declarations for FunctionDeclaration case
- Split out import and export token handlers to reduce complexity