Fixes #2676 : Convert Matrix to NumPy Array with NumPy dtype

Exposes dtype to the user. Default dtype is 'object'.
Rename d_type to dtype
Added tests for matrix2numpy
Add Python 3.4 to .travis.yml

I don't know if Travis actually supports it yet. I guess we'll find out.

For the slow tests, we only tested on the most recent version of Python 2 and
Python 3, so change them from 3.3 to 3.4.

This is a lot of Pythons now. We should probably think about dropping 3.2
support...
Fix for the bug #7343
Fix for the issue #7342
Fix for the bug #7343

Corrected the bug by adding solutions returned from
each individual equation to the `sols` set. Previous
error was due to replacing the last solution in `sols`
by the new solution rather than appending it to the `sols`.
Fix for the issue #7342

Change the return type of `diop_solve()` to a tuple in the univariable
case. Also added the checks to ensure that only  `Add`, `Mul` or a
`Symbol` is processed in the `classify_diop()` function. Raised an
error in the other cases.
Replace `==` by `is`
Fixed merge conflicts.

Conflicts:
	sympy/solvers/diophantine.py
Use the shortened version of `isinstance`. Replaced
`isinstance(eq, Add) or isinstance(eq, Mull) or ....` by
`isinstance(eq, (Add, Mul, ...))

Replaced the search for `None` using a for loop by using
`in`.
Use iterators in `merge_solution` instead of using counter
variables to keep track of the next element to be taken out
from `params` and `solution`.
Makes IndexedBase consistent with Symbol wrt to latex printing
Adds test extra test for latex of IndexedBase
Added files and docs for primary field functionality
Merge branch 'master' of https://github.com/sympy/sympy into fielddocs
Added documentation for fieldfunctions, rectified errors
Made changes suggested by @smichr
Merge branch 'master' of https://github.com/sympy/sympy into fielddocs
Add tests for issue 5113
Complete PR 2376