Initial commit
Make it a runtime error to try and unmarshal into a value.

Thanks to Rob Pike for the suggestion and code.
Run code through gofmt.
Skip nil values when marshaling.
Another gofmt pass.
Fix bugs in error reporting when parsing bad bencode data.

Discovered when trying to parse a truncated torrent file.
Handle zero-length strings in bencode data.

Improve error reporting slightly.
make bencode adhere to new reflection interface
gofmt
Various changes...
Merge branch 'master' of github.com:jackpal/Taipei-Torrent
Merge commit '464e8f86d9e8ec9d188e4b7c53ef26015147ec83'; remote branch 'nictuku/master'

Conflicts:
	torrent.go
Fix build problem with recent go release: vector Data() was renamed to Copy(). Also changed our own decoder method to reflect this.
Fixing other potential problems related to redeclaring err within a inner block. Also changing harmless look-alike cases for style consistency
Small fix on bencode parse.go
Move bencode tests to common Go testing infrastructure.
bencode: Adding a unit-test proving that "dictionary inside a dictionary" works, as long as you know how to use it. Closes issue #2 (user error!).
Update to current Go makefile syntax.
bencode: Adding a unit-test proving that "dictionary inside a dictionary" works, as long as you know how to use it. Closes issue #2 (user error!).
Merge branch 'master' of https://github.com/nictuku/Taipei-Torrent into nictuku-master

Conflicts:
	main.go
	taipei/torrent.go