Bean toString should process arrays correctly

Fixes #23
Enhance Javadoc
Fix error message
Fix code generation for properties of generic type array

Where bean is Foo<T> and property is T[]
Also where immutable bean and property is T
Fixes #22