Fix perlinNoise/OptimizedPerlin: octaves wasnt set

Octaves wasn't set properly in OptimizedPerlin class (division by 0 in native targets). Although it now works on native targets, we're still missing stitch, fractalNoise, channelOptions, grayScale arguments for it to fully reflect Flash's computed results.
Merge pull request #187 from Hasufel/patch-1

Fix perlinNoise/OptimizedPerlin: octaves wasnt set