Maven build fix & two other small changes


1. Added netty-all dependency to Maven build file.

2. Removed the duplicated netty dependency in sbt build file.

3. Changed run script to check for repl classes only if repl is used. In the case repl is not used, check for core classes only.