Tidy up.
Make dedicated wrapper for PHP classes.

Means that W_PHPGenericAdapter can consistently wrap a reference and
I can assert this.
Some renamings and assertions.

To make it more clear where something should be a reference.
Move refrence creation outside of W_PHPRef and assert we always get a ref.