Made compile() return the processed data

Made it return the processed data that the processor returns in case of not being able to use the result meanfully in the callback but instead needs to return the result.
Merge pull request #69 from Xulai/patch-1

Made compile() return the processed data
Adding test for returning the processed data pull request
Merge pull request #2 from krasimir/master

Update from original