Stripping script/style urls only of version info

The previous version of this function removed all parameters. This meant that any scripts/styles requiring additional parameters (e.g.  the styling of All-in-one Event Calendar plugin) failed to load.
Merge pull request #282 from renehamburger/patch-2

Stripping script/style urls only of version info