fixed units checking for @expects
don't check function arguments as long it's not Numeric instance or Device class
Merge pull request #319 from ufo-kit/expects

Fix #308: Expects decorator does work with code_of