Fix Python builtin collisions.

This renames all validator support functions to CamelCase, but adds
backwards-compatible deprecated functions and classes.

As part of this, converted to a package.