[FLINK-1218] Don't use "new Integer". Use "Integer.valueOf" instead.

There are lots of "new Integer" or something like it in the code.
We should use valueOf to avoid wasted instance creation.