Merge pull request #33 from m1ch1/master

bin/pulsed: minor fixes
Don't show html page for error response
Consistent name for dir type
Merge pull request #27 from EasonLiao/dir_name

consistent name for 'dir' type
Fix AsyncContext timeout bug
Add zero padding to hex checksum.
Merge pull request #31 from EasonLiao/fix_timeout

error while waiting
Merge pull request #26 from EasonLiao/hex_padding

format checksum as a zero-padded hex
initial commit for python-based integration test.
Fix logdir bug
Merge pull request #34 from m1ch1/test

initial commit for python-based integration test.
Merge pull request #28 from EasonLiao/disable_htmlcode

don't return html for error response
Merge pull request #32 from EasonLiao/fix_logdir

how do i specify the data directory?
Leave url-encoded string as is
Suppress server header in HTTP response
Merge pull request #30 from EasonLiao/disable_server

set server header
Merge pull request #35 from EasonLiao/encode

leave url-encoded string as is
Add single server testcases.

- Verify that the path remains url-encoded in both response header
  and directory listing.
- Verify that the response doesn't contain "Server" header.
Merge pull request #38 from m1ch1/test

Add single server testcases.
Return 201 for resource creation.

Also some refacotring on code about responding