Fix deprecation warnings for Julia 0.4

Replace the Dict and Any array syntax changes for 0.4. fixes #101