Lint fixes (mostly whitespace).
Tests for ReshapeLayer, checking whether we can flatten the output.
Following the numpy convention with -1 for "infer", 0 for "copy".

(In ReshapeLayer target dimensions.)
Additional tests for -1 and 0 as ReshapeLayer output dimensions.