Add Compat.jl as a dependency, rename String -> AbstractString

Allow testing through Pkg.test()
Merge pull request #73 from JuliaLang/jcb/compat

Track latest 0.4 dev changes