Added rewrites for cannonical URL access to specific observations.

Most of this work was done in PR-43, however I just added canonical URL support for observations.

As a side note, also cleaned up some white space and other cruftiness.