Clamp floats to ints
Merge pull request #142 from JuliaOpt/intclamp

RFC: Clamp floats to ints