Added docstring to test.
Added "*.pyc" to .gitiginore
Added doctest for address_with_periods.