Added one and zero value optimizations and tests.

This is a re-do PR for: https://github.com/fsharp/fsharp/pull/203

This one contains tests.