add simple protection for infinit loop in StreamReader.read()
remove whitespace
fixed non-ascii traceback message
Support custom encoding for basic auth credentials

This introduces BasicAuthEx namedtuple which acts as like as BasicAuth
one with single exception as it handles encoding as third argument.

RFC2617, section 2 (HTTP Authentication) defines basic-credentials:

    basic-credentials = base64-user-pass
    base64-user-pass  = <base64 encoding of user-pass,
                         except not limited to 76 char/line>
    user-pass         = userid ":" password
    userid            = *<TEXT excluding ":">
    password          = *TEXT

RFC 2616, section 2.1 defines TEXT to have ISO-8859-1 encoding
(aka latin1):

    The TEXT rule is only used for descriptive field contents and values
    that are not intended to be interpreted by the message parser. Words
    of *TEXT MAY contain characters from character sets other than
    ISO-8859-1 only when encoded according to the rules of RFC 2047.

In fact, I know no Basic Auth implementation which respects RFC 2047
for Basic Auth.

However, the truth of the real world is that the most major browsers
are already uses UTF-8 instead of ISO-8859-1 for the credentials as
like as any modern web services which allows non-ASCII login/password.

Also, there is the RFC draft which aims to handle the case when
credentials will optionally get always encoded with UTF-8:
http://tools.ietf.org/html/draft-ietf-httpauth-basicauth-update-01

While we should strictly follow common standards, we also need to handle
real world use cases. This change allows that and makes aiohttp ready
for further Basic Auth scheme standard update.
Merge pull request #111 from KeepSafe/handle_error_utf_encoding

fixed non-ascii traceback message
Merge branch 'basic-auth-encoding' of https://github.com/kxepal/aiohttp

 especially if it merges an updated upstream into a topic branch.
Fix broken unittest
Better BasicAuth tuple
Merge pull request #112 from kxepal/better-basic-auth

Better BasicAuth tuple
slightly update BasicAuth
add test for uncompleted server request
define http version as namedtuple
log traceback only in debug mode
simplify ParserBuffer
Copy-paste typo fix
Merge pull request #113 from kxepal/patch-1

Copy-paste typo fix
merge utils module into helpers
Keep version in docs synced with project one
Fix docs build warnings
Added MultiDict support for client request params and data #114