removed wrong filter for buy_post and token_hook. Removed unsafe code, i...

...mproved loading and checks #189
nothing from wp code should be within php client - it will be moved into separate library