Fix for partial trust environments
Assembly.GetExecutingAssembly() cannot be used in Partial trust environments
Also linux type paths report file:// and not file:/// so substring(8) should not be used
Merge pull request #26 from rippo/master

Fix for partial trust environments