require yaml even if rubygems has defined YAML

fixes #2393, #2394
symbols don't have #empty? on 1.8.7

fixes #2392
lib is the default entry
travis build badge for 1-3 on 1-3