Add the ability to write to shared pages to writer

Signed-off-by: John Else <john.else@citrix.com>
Add some debugging to PageWriter.init

Signed-off-by: John Else <john.else@citrix.com>