Added transform and scaling_factor parameters

We now have a transform option, in which the user can specify some transformation
to apply to data before sending it to NuPIC.

As a side effect, moving_average_window is now optional