Fix deprecation warnings for Julia 0.4

Replace the Dict, Any array and round syntax changes for 0.4. fixes #101
Merge remote-tracking branch 'sc/deprecations'
Fix bugs in compat PR #102