Allow easy multiple dimension class registration

Added ability to easily register a type and all array types for that class up to a specified dimension. Example:

kryo.registerArrays(String.class, 3);

Will register String.class, String[].class, String[][].class, String[][][].class