various changes

boolean attributes, attribute removal, new attribute creation, lazy
building of $_ref doc, bug fixes, formatting, more tests, readme
edit readme