py: Implement divmod, % and proper // for floating point.

Tested and working on unix and pyboard.