URL-encode ids passed to Type::deleteById()
Merge pull request #321 from dstillman/deleteById_urlencode

URL-encode ids passed to Type::deleteById()