IDE-1453 support publish to remote server for maven
IDE-1453 fixed other places that don't use getMavenProject( monitor ) api
IDE-1442 added unit test for include-sample-code option
IDE-1442 fixed the include-sample-code test