Fixed javadoc
Added Mendeley support to command line tool
Fixed NPE in command line tool