ENH: Enable Python 3.4 testing

Closes #1898
Merge pull request #1938 from bashtage/python-3-4

BLD: Enable Python 3.4 testing
ENH: Unit Root Tests

Introduces 4 new unit root tests and provides a class for Augmented Dickey Fuller testing.
The four new tests are:
  - PhillipsPerron
  - KPSS
  - Variance Ratio
  - DF-GLS

These have all been included in unitroot.py, and the afduller function has been moved from
tsatools to unitroot, and is now just a wrapper around the ADF class.

The critical value and p-value lookup codes have also been consolidated into untiroot.py.
Critical value and p-value lookup information for DFGLS and KPSS is not readily available
in published form, and so simulations were performed to generate these using 100,000,000
replications using a methodology similar to MacKinnon (2010).  All critical value data
has been consolidated into tsa/critical_values.

A cov_nw function was added to tsa/stattools which computes Newey-West covariance.

Also includes substantial improvements to tsatools, including numerous bug fixes.   The
code that handled recarrays has been improved to now handle pandas dataframes.  Numerous
doc strings where improved.  Test coverage was also substantially increased.

string_types was added to the compatibility library to address the difference between basestring
in Python 2 and str in Python 3.

Moved coint to a new file coinegration.py which will, in the long term, be expanded to include
other tests for cointegration.

Conflicts:
	statsmodels/tsa/tsatools.py

Conflicts:
	statsmodels/compatnp/py3k.py
	statsmodels/tsa/stattools.py
	statsmodels/tsa/tests/test_adfuller_lag.py
	statsmodels/tsa/tests/test_stattools.py
	statsmodels/tsa/tests/test_tsa_tools.py
	statsmodels/tsa/tsatools.py
Changed h0 and hA to null_hypothesis and alternative_hypothesis

Provides a __str__ and __repr__, as well as a _repr_html_ for IPython, for unit
root tests to improve interactive behavior

Refactored valid_trends to remove redundant code
Documentation improvements
Refactored method used for valid_trends
Improved summary
Fixed test failures on 2.6 by skipping those with assert_raises

asset_raises uses an improved version form unittest in Python 2.7, and does not work
correctly in 2.6
Returned a test that was wrongly disabled.
Provided a basic method to call adfuller and coint from tsatools.py
Added adf-z test simulation code
Improved the simulation code for critical values [skip_ci]
Joblib version of simulation code
[skip ci]
Small improvements to critical value simulation code
[ci skip]
Fixed issue with IPython.parallel memory use
Fixed typo in build_bdists.bat
Python 3.x compatibility
Finalized critical values from simulations
Moved warning to exceptions
Minor PEP clean up
Refactored simulation for ADF z test
Added examples
Added to docs/source/tsa.rst
Added to api.tsa
Further doc improvements
Attempt to fix api so that correct adfuller appears in docs
Added summary text to VarianceRatio

Conflicts:
	statsmodels/tsa/api.py
Python 2/3 compatibility fixes
BUG: Fixed bug in lagmat when using record arrays

Fixed broken lagmat when using record arrays
Added test for ddof
Added degree of freedom argument to cov_nw
Added tests for using lagmat with record arrays