added check for nil input to markdown rendering, added tests for nil input
wrapped CodeRay.scan(...).div in a begin-rescue statement, create markdown engine on the fly
added test for the weird locale missing issue