resolves #396 allow JRuby Map as attributes

- also allow something we can convert to a Hash
- fix missing argument to include macro callback in test
Merge pull request #397 from mojavelinux/attributes-option-type

resolves #396 allow JRuby Map as attributes