Update the sepolgen parser (refparser.py) to handle the latest reference policy. Includes some other parser cleanups. Signed-off-by: Karl MacMillan