* Ported most tests to googltest.
* Added some inline arithmetic operator overloads to spancloc.h for when it
  is included c++