Allowed entries to be instances of CharSequence

Also updated dependency versions and other minor improvements such as removing/ignoring .iml files and removing redundant type arguments on generic constructors calls.