Merge pull request #52 from robey/options

rename Option -> OptionValue
oops, forgot the tests.
factor out file reading, process imports, and pass them to the generator.
process imported symbols during generation.