Yourls 1.7 Compatible

Using new hooks and updated instructions
Merge branch 'yourls-1.7'