Fix ref_ptr to const types (closes #176)
Merge branch 'master' of github.com:hpicgs/glow