Fixed spec to work with busted 2.0
Changed API: separated variable type and warning subtype

Also, fixed --no-unused-args removing redefined and global warnings