Add encoding info to HTML header. Fix #492
changed runtests.jl to output files to output directory
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
Merge pull request #510 from darwindarak/fix_display_encoding

Add encoding info to HTML header. Fix #492
Merge pull request #511 from kbuzby/testoutput

changed runtests.jl to output files to output directory