Page paths fixes

Normalizes page paths so they always start with a / and don't end with a /.
Other URLs were always a 404