Sync CLI and IntelliJ build directories

Now CLI gradle and IntelliJ will both build in the 'out' directory.
Default gradle to run tests

gradle at the command line and Run->Run 'build' in IntelliJ will run tests now.