Fixes #7: ismatrix() not available prior to R2011a.

Additionally, ismatrix did not work as I expected it to be; it returns
True even on scalars and vectors. Fixed that rudimentally.
Fixes #6: listPermissions now returns a cell array with available perms.
Example for listPermissions added.