fix link-format output

correct logic error in link-format serializer and clean up code
minimal server

add .well-known/core
serialize object tree to JSON

/l endpoint does a recursive serialization, including graphs and
settings of Observers and Agents
remove dead code + clean up

clean up object model serialization
add comments

add comments and FIXME to the RESTfulResource object serializer
Merge pull request #4 from mjkoster/master

Remainder of changes that weren'r synced for pull#3