Merge pull request #7 from LastElf/master

jQuery-ui update
jQuery needs to be offline, testing .sortable()
Fixed Cancelling the change name prompt changes it to null
Sorting and toggle container set up
Popup click toggles
Popup now closes on outside div click.
Cleaned up functions so it doesn't check classes twice each click.
Primary Building popup complete. Test tab working fine. Migration to actual tab and starting on Factory next.
Factory redesign finished
Houses and Tools rewritten. Added unequipped spares to the equip tooltips and made them row wide instead of on the button
Deleted old tooltip code
Tab redesign finished. Needs expense rates and income needs to come from the building, not the resource
UI update finished
Merge pull request #8 from LastElf/Dev

Dev