support module that without last empty line

rewire cannnot load module that has comment on last line or without last line empty line or semicolon.

here gist is failed pattern
https://gist.github.com/suisho/5066182