use each_pair instead of each
finally refactored symbol.rb to be internally consistent.  updated related files, put backwards compatibility stuff in 'sugarcube-legacy'