Introduce path cleaning

A new function sp is introduced. It does the same as ss but also cleans
the path.
Merge branch 'develop_clean_path' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_clean_path
Merge branch 'refs/heads/mano3m-develop_clean_path' into develop
SP function wrapping whole variables