find_by_path or find_by_previous path fix

these methods should be able to find a page in case when path is passed with and without trailing /
Merge pull request #92 from abdulrauf/master

find_by_path or find_by_previous path fix