BUG onDemand plugin fixture

Added trim() to decodePath function. Headers X-Include-* comes with a
space so some files are loaded twice. Looks like that depends on a
webserver. nginx has the space.
Merge pull request #2615 from a2nt/jquery.ondemand-fix

BUG onDemand plugin fixture