cp web/server.js bin/jsx-profile-server (dead copy)
move files used by profiler from web/ to etc/profiler
remove profiler-related stuff from web/server.js (cherry-picked from 3f280cd)
bin/jsx-profile-server works! (refers to etc/profiler and
$HOME/.jsx/profile) (cherry-picked from 3f280cd)
* omit /index.html from URL (fix crash when user accesses document root).
* fix unit test
* Add parameter to specify profile storing directory (for test).
* Remove debug console.log
"uri" should not be altered (since the variable is laterwards used for logging)
always use finish() to send the output / log the request
simplify the path parsing
remove unnecessary check; pathname always start from "/" (or should we assert instead?)
Merge branch 'kazuho/issues/profile-server-in-bin'