changed syntax to match v0.4 and added Compat dependency for v0.3 compatability

moved using Compat from misc.jl and ticks.jl to Gadfly.jl for consistency
Merge pull request #508 from kbuzby/compatfixes

Removes numerous warnings in v0.4