Refactor Bricks

Introduced ConcurrentFormulaHashMap to BrickBaseType
Removed clone and copyBrickForSprite from bricks where possible
Introduced custom xstream converter to support porting old projects' code.xml to new structure of code.xml