add modPow to SafeLong
add test for SafeLong
Improve conversions to Number.

This commit adds ConvertableFrom[A]#toNumber, which improves the
quality of the automatic conversions. Also adds (previously missing)
support for the boolean algebra ops (& | ^).