buildbot/master: add Basic Auth support.

Moved BasicAuth parsing and localhost detection code from pkg/auth ->
pkg/httputil for use by buildbot master.

Added user config file for remote access.  The file's name is
"masterbot-config.json" and is located in osutil.CamliConfigDir(),
which on Unix will resolve to $XDG_CONFIG_HOME/camlistore/, if
XDG_CONFIG_HOME set, or ~/.config/camlistore/.  On Windows it will be
under %APPDATA%\Camlistore\.  The expected format is a json object
with usernames as the keys and sha1 sums of the password as the
values, i.e.:

    {
        "user1": "1234567890abcdef12341234567890abcdef1234",
        "user2": "1234abcdef12345678901234abcdef1234567890"
    }

This file is polled at a 1 minute interval and reparsed if the file's
modification time is more recent then the previous parse attempt.  It
is ok for the file to go missing, it will zero out the remote user
list. A malformed file will result in the master exiting.

New commandline flags, -tlsCertFile & -tlsKeyFile, added.  Specifying
both will enable TLS on the listener specified by -host.  The go
source contains generate_cert.go in crypto/tls that can be used to
generate self-signed cert.pem and key.pem for testing.

Added -skiptlscheck commandline option to builder.  This allows the
builder to report to https:// addresses with self-signed certs as we
don't currently have a way to specify the cert chains to be used
for TLS verification.  This is a stop-gap solution.

When launching a master that listens for secure connections, we
currently need tell the builders to skip certificate validation. Add
'-builderopts="-skiptlscheck"' to the master's commandline to skip
cerfication verification.

Change-Id: I0750b5c9fa8f4def67fc05a841087b50abded2f7
website: more redirects to the issues tracker

http://camlistore.org/issue/243

Change-Id: I25424ae5e69f602e8a8bb8d69954f37f28b8f687
Merge "buildbot/master: add Basic Auth support."
serverconfig: fix tests because of previous publish config changes

Change-Id: I643b31be80dcc86b4cdb76bc8a9012dcb57e65ee
Merge "website: more redirects to the issues tracker"
Flickr importer: store credentials in Camlistore, not weird JSON file.

Change-Id: I07ed4e9043c9fa448425144886dc3b7047c4e85b
Merge "Flickr importer: store credentials in Camlistore, not weird JSON file."
Flickr importer: Don't refetch or import unmodified photos.

Change-Id: I2ade0aa70e3caca8c3c1153ffee448d09d819da6
Flickr importer: import sets and populate with links to photos.

Change-Id: I6c53dade3e96373fb3fb9ea4b172c53d5e22d988
add TODO

Change-Id: I3e4c33d1bafcdf4f6afde3440995c591c9457787
Register the 'memory' index type.

Change-Id: If697de1c3c63b2a1990353fc3ba1713f89e27d50
Merge branch 'master' of https://camlistore.googlesource.com/camlistore