limit rspec to a gig of memory in Guardfile

to stop my experimental floodfill algorithms from taking down
the system
experimental edges fill algorithm. currently uses up all memory.

also timeout in the rspec test
stop modifying the array I'm iterating over inside an each loop!

you'd think I'd have learnt that lesson by now
currently can do about 20 iterations before it gets too slow...