fix condition for the rest of input

the input must rest the length of a string to be peeked at least.
fixes parse error at embedded documents by string eval, and `-e`
command line options.
fix embedded documents

tabs are allowed after `=begin` and `=end`.
raise `SyntaxError` if no =end is found.
fix char after `=end`

skips() advance after the string skipped.
skip to the next line and reset column after `=end`
count skipped line numbers
Add Hash comments
Merge pull request #2184 from yui-knk/fix-typo

Fix typo.
Merge pull request #2185 from suzukaze/hash-comments

Add Hash comments
Merge pull request #2161 from nobu/embedded_document

Embedded document
Add Hash#flatten
Merge pull request #2186 from suzukaze/add-hash.flatten

Add Hash#flatten
Add document of header searcher of compiler.
Merge pull request #2187 from take-cheeze/header_searcher_doc

Add document of header searcher of compiler.
Don't reset ridx,eidx. And fix for #1949
Merge pull request #2188 from takeru/dont_reset_ridx_eidx

Don't reset ridx,eidx. And fix for #1949
Refactoring exception test.

Change to use assert_equal explicitly.
Merge pull request #2191 from yui-knk/refactor-exc-test

Refactoring exception test.
fix memcpy-param-overlap
Add Hash#invert
Refactor mrb_str_capitalize_bang()