Implement fallback print method for testing environment in case mruby-print GEM wasn't included.
Move declaration of kernel to the beginning of the method
Merge pull request #1239 from bovi/fallback-print

[TestEnv] Fallback print method