ioreg tweaks

Two minor changes to ioreg for registers with only write-only fields. I'll throw some tests in later.

closes #139 
closes #140