Trim whitespace from permalinks.
Merge pull request #41 from perfectsense/feature/permalink-trim

Trim whitespace from permalinks.