Merge pull request #48 from adamroach/attributes

WT ... F
Adding error passing stuff
Adding direction
Adding origin support
Adding direction test
Direction tests working, CRLF definition
Merge pull request #47 from martinthomson/sdpwrap

Adding error passing stuff
Serialization is code complete (except ftmp and imgattr)