FlxRandom: Fixed getObject(), made color() better.

Due to an error I made when refactoring `FlxRandom`, `getObject()` would always return the 0th element of the array unless you specified an end index. The `StartIndex` and `EndIndex` parameters are now nullable integers, and if left unspecified, will be 0 and `Object.length - 1`, respectively.

Also, I had been frustrated with the complexity of `color()` and `colorExt()`, and finally implemented a single function (now just `color()`) which accepts a single `ColorOptions` object with all the settings previously individually set by each parameter.


I guess it might not really be an issue. This gives you some additional flexibility because you can store the typedef in a variable for several calls to `color()`. The same would be true for a class, but that wouldn't be as as self-documenting and there's a set order in which you have to set the params if you put them into the constructor, so I think I prefer a typedef here...