(core) reworking vobj_ internals to bitmask
(core) vint flags rework completed

Switched the flags substruct to a regular
bitmask, made some code a bit cleaner
and reduced the size of the struct notable.