Convert Spark URI to Java URI for Java class loading
Change the if-else to case matching which is easier to cover more cases in the future.
Implement code review feedback
Merge pull request #17 from ooyala/Issue16_Local_Protocol_Exception

Convert Spark URI to Java URI for Java class loading