Remove unused dependancy & enable UnusedImport check

as discussed in #4058 this is follow up PR for UnusedImport checkstyle rule