Moved bitflags code to this project
Added new flagvector type to wrap flags library