Ensure record aliases in the same quote can be accessed, closes #1915

This commit also simplifies macro expansion for both imports and aliases
to always give higher preference to the macro environment rather than
the caller one, if such is available. The deal is to simplify both the
code and understanding of how macros work.
Add examples to url.ex

Examples for encode_query, encode, decode, decode_query, query_decoder, and parse.
Clean up formatting error
Merge pull request #1916 from augiedb/master

Add examples to URI
Simplify the logic of translate_assert

There is no visible need to pass the fallback function through all the
cases of translate_assert. It's makes the code simpler if we keep
the conditional logic at the beginning.
Merge pull request #1917 from alco/simpler-translate_assert

Simplify the logic of translate_assert
Add Stream.resource/3
Ensure full alias is stored in context_modules
Fix Version.match? with ~> and -dev versions
Merge pull request #1919 from meh/master

Fix Version.match? with ~> and -dev versions