automatic differentiation
travis fix
add ::Bool type check
Merge pull request #39 from JuliaOpt/autodiff

automatic differentiation