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.