Add static new instance methods to Pairs for convenience.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Add iterate, generate and range construction methods.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>