Added wp.getPost, with proper type

Type supports post & attachment, based on services options.