PDT Post view methods and tests

Also fixes an issue in the model, that was accessing the post raw body that fails if we have read from post vars before that call. 
I actually received POST requests to the PDT view, thats the reason I needed to change this.