Style inheritance

Implemented style inheritance by programmatically copying parent's
attributes
Implemented named styles
Updated javadoc