update for Statamic 1.7

bunch of method names moved and reduce slashes uses the path class method tidy now.