add tests
use object as Pagehook#definitions instead of array
version bump to 0.1.1