Original implementation was completely broken. Documentation and actual behavior were different. Numbers and booleans were detected as wrong, as well as explicit types. Fixes #136 and #130.
* taken from https://github.com/adrienverge/yamllint/pull/110 (submitted by @jurajseffer) * small fixes for generic and multi-line strings * fixes for comments from @adrienverge