Removed unchecked warnings when compiling with Java 6 by enforcing the most logical generic type.
Added artifacts for javadoc and source jars.
Updated/corrected .gitignore.