Added new helper to escape URIs called 'encode'

fixes #1089
Merge pull request #1092 from halfdan/uc-helper

Added new helper to escape URIs called 'encode'