see #16

Added new config flags ADD_ATTR, ADD_TAGS
Extended docs
Added merge code to core lib