Added a couple of functions to the C API

- Also set a call attribute on windows for generating DLL exports
- 1 new test case for rendering to memory
Merge pull request #3 from fawick/master

Added a couple of functions to the C API