Update documentation with examples for various int, vec methods.

add int::range(), remainder() examples
add vec::foldl(), foldr() examples

tweak