adding __toString, next and previous methods
Merge branch 'master' of github.com:thephpleague/period