Add a getIndex method to RawImage

It's sort of necessary when writing nontrivial plugins that access the int buffer of `RawImage`s. Also there is an exception that can be thrown whenever an effect's parameter is out of bounds.

Sorry about the crufty extra commits that change the readme; Apparently github is sucky enough to not let you select what commits you want to include in a pull request. :(