work on trickle up of counters

adding association callbacks and more logging to door.rb
actually door.update_counter should be a sum of the external doors