APC bugfix after someone messed with mah areas!

This was probably bound to happen either way the previous version was based upon a faulty understanding of how the areas worked this is much more robust and only messes with the master areas
and master areas needing power updates call power updates for the each of it's child areas.  Also added where messing with SMESes called for an update on all areas power consumption, probably
not required but doing so either way.

We also rebuild the active_areas list every 5 minutes, if you get a engineer that wants to build a new area off of the station with APC's set rebuild_all_areas in the master controller and it will
update instantly, otherwise wait 5 minutes.  The only downside to this 5 minutes is you might get free energy until that area becomes active.
Whoops, forgot to include this one.
And nother file missing.
Merge pull request #4666 from Ccomp5950/apc_fix

APC bugfix after someone messed with mah areas!
Merge branch 'master' of https://github.com/Baystation12/Baystation12 into l
Merge pull request #4673 from comma/l

Fixes for missing definitions, also updates from master