Changed Note class to work with Activity class

Removed Note.summary, this is now stored in Activity.content
Removed unneeded 'if "object" in data' statement, data is always the
object now