add Compat.jl dependency, update to track latest 0.4 master
Merge pull request #86 from JuliaLang/jcb/compat

Track latest 0.4-dev changes