Add `BW::Constants.get`

I wanted to refactor the `const_int_get` tricks in some wrappers so there was one implementation (#202 inspired this).

One question: is `motion/core/constants.rb` an okay place/name for this? Or should there be a new folder like `motion/util/constants.rb`?

Just wanted to get another pair of eyes/opinion on it before I merged.