improve Module#const_defined?, Module#const_set & Module#const_get

- fix compliance of ancestor scope search
- implement inherit flag for const_defined? and const_set
- fix existing specs, add additional specs
- remove redundant underscore from const name regexp