Merge pull request #784 from waveney/wav25

Various Patches
Merge pull request #1 from eternaldensity/master

get updates from main fork
Made Castles/Sand spent use LucidCrux's new custom arguments.
setup for Castle boost

add new variables and saveData
(Castles).bought to .totalBuilt

alter previous Molpy.casltesBuilt to (Castles).bought so they point to
.totalBuilt instead
see:
https://github.com/eternaldensity/Sandcastle-Builder/commit/225a657282bb4a7c61dcf732674372596dfaafec

should solve many if not all of the castle shop issues
remove (Castle).spent undefined checks

no longer needed as spent is defined on creation now
remove Molpy.castlesDestroyed

replaced with (Castles).totalDestroyed
remove Molpy.totalCastlesDown

replaced with (Castles).totalDown
remove Molpy.prevCastleSand, Molpy.nextCastleSand

replaces with (Castles).prevCastleSand and .nextCastleSand
add above to saveData
remove Molpy.globalCastleMult

replaced with Molpy.Boosts['Castles'].globalMult
setup Sand boost for refactor
fix for #783
version number 3.3332
Merge pull request #785 from eqbot/master

Made use of LucidCrux's new argument system.
(Sand).bought to .totalDug

redo last replacement of Molpy.sandDug to (Sand).bought
see:
https://github.com/eternaldensity/Sandcastle-Builder/commit/6f3645b5af3d7cda9be1464027bac008a6264770

should fix any errors (none known) and prevent future ones
remove Molpy.sandManual

replaced with (Sand).manualDug
migrate Molpy.sandPermNP to (Sand).sandPermNP
migrate Molpy.computedSandPerClick to (Sand).sandPerClick
remove checks for (Sand).spent == undefined

no longer needed since property is created on boost creation
remove old comment