More flexible parsing of languages from strings

Support Accept-Language header format
Remove references to locale
Improve the documentation
Fix #9