Simplify Js::Class#detect_method_or_property.

A bit of duplication there.
Initial take on auto-detecting SCSS vars & mixins.