cleanup glyphs.py
Compute has_ref based on the type of a property
BaseGlyph is now HasProps (with Viewable metaclass)
Merge pull request #564 from mattpap/has-ref

Use types to compute value of has_ref attribute
merge master