Merge pull request #457 from AartBluestoke/dev

merging various dev bugfixes
Cache upgrade attributes in UpgradeManager
Chassi and modules honor sneaky upgrade when sinking items
Merge branch 'MC-1.4' into Dev
Way.
invert connected logic
Just periodically do render updates, that should fix texture issues.
Remvoe all routedpipes on disconnected sides
Make unpointed Chassi search for a direction to point to on first tick
Allow insertion of sec card into pipe by clicking.
Init LSA and lastLSA to 0, no point in trying to build a route table before the first recheckadjacent.
More defensive checks for apiarist refiller
add null check in markChunkModified
router can be null if the pipe is Destroyed

getRouter(int) returns null on int<=0 anyway, so no computational or
logicat inefficiency here.
add null checks
nothing used isUnrouted and changeDestination is only used to clear...
add router getCachedPipe() that doesn't try to access world
move router.clearPipeCache() to onChunkUnload
clear pipe cache in destroy() before kicking neighbors' recheckAdjacent
Make components work again, fixes #460