Merge pull request #6 from Yonom/master

Fix InvalidAuthenticationTest
Made code sample simpler
Remove unused directive
Backwards compatibility for older UI's
Cleaned up comments
Add todo
Change function parameters.
Using Skylight's ID parser

This makes the room id more flexible in terms of authentication, since
the user may want to enter in a url or just the id.
Matches variable room ids

Within the 9 to 14 character range, that is.
Fix issues where parser would give false positives

The parser matched many incorrect and malformed urls whose room ids were
unrecoverable. Instead, choose not to match those.
Fix issue where url component could be invalid

If the url component (the end of the url) is not valid but the domain
is, throw an error because the room id is invalid.
Add another possible domain name

I doubt this will be used but it's good to add it anyway.
Extract isValidStrictRoomId
Cleanup and docs for isValidStrictRoomId
Docs for IdParser
Use parser in Rabbit
Fix param tag and make Parse static
Preparing for v0.5
Make method IsValidStrictRoomId static
Add warning if server version is greater than Rabbit's