Fix some classpath issues. Also add Util methods to compute URL's for
smartcloud sample.
Merge pull request #171 from markewallace/FixClasspathIssues

Fix some classpath issues. Also add Util methods to compute URL's for