management: add RIB flags class and use it in Route instead of int flags

refs #1886

Change-Id: Ia47f2cd89c5b0346e09fc43e6701bda3f4c32551