add test case, implementation, and docs for raw stylus.define

Follow up to issue #100.