Refactor updatedb.py

Refactored updatedb.py to handle the Platform XRef better.
Added a dictionary for the mappings and cleaned out the hacky
logic in parseBuilder function
Merge pull request #15 from gakiwate/master

Refactor updatedb.py