Allow plugins to run at xmlhttp

Currently it is not possible for newpoints plugins to run at xmlhttp (Ajax request), here we add a new hook for newpoints plugins to run with no issues.
Merge pull request #1 from Sama34/patch-1

Allow plugins to run at xmlhttp