#58 ending slash in link - fixes + unit tests

This update will add / remove URL trailing slashes depending on that is set on the Virtual Page Permalink regardless of the WP Permalink.