Bug 738396 - Construct codebase URI for Java plugins as java would. r=bsmedberg sr=jst
Bug 738396 - Only pass canonicalized codebase to Java. r=bsmedberg sr=jst