Started work on Linearizer Class

Implemented routine for constraints on position and velocity.
Unsure if it will work if either are missing, most likely will need
to add control flow for this. The API is also complicated, and will
be simplified as more code is ported over.

Also added one test for the new linearize routine. Based off of
the example in Luke and Gilbert's paper. As more functionality is
added to the linearization routine, the work done in this test
will get smaller. Still need to add more tests from the examples
I worked out last week.
Lots of work on linearization methods

- Added `to_linearizer` method to KanesMethod class. This returns
an instance of Linearizer with all information needed for the class.

- Made 1 meaninful test with the rolling disc test case. The other
two tests aren't finished yet.

- _subs_keep_derivs was written. This substitutes in values for symbols,
but keeps the derivatives of the from being substituted out.
Assorted fixes in Linearizer Class

- Forgot to multiply A and B by P^T when outputting just the
A and B matrices. Fixed.

- Added an eigenvalues test in the rollingdisc test

- Formatting and code quality fixes
Line3D class
Added support for no f_c/f_v in Linearizer

The Linearizer class now supports linearization for systems with
 - Both configuration and motion constraints
 - Only configuration constraints
 - Only velocity constraints
 - No constraints

Added a test for no constraints. Still need tests for just f_c and
just f_v. Added rough beginnings of `linearize` class method for
KanesMethod. The interface still needs to be decided on.
Generalized Linearization Routine

The following changes were made to the Linearizer Class:

1.) Now accepts if q, u, or any of the f_# generalized terms
are empty matrices. Linearization proceeds as it should.

2.) Broke the linearization process into a couple "private"
class methods. The ones done so far only need to be run once
upon initialization. This should save calculation time if the
user intends to do multiple linearizations about different
operating points.
Added new methods along the Ray class
Changes to Linearizer and Related tests

- All tests now are valid and pass
- Improved doc strings, still needs more work
- Modified tests for KanesMethod to use the new functionality

Now have the same functionality as before with linearizing
KanesMethod objects, but code is more generalized and easily
extended.
Added the remaining methods
Code cleanup, pep8 fixes, docstrings edits

- Code cleanup with flake8 for pep8 fixes in new code
- Edits to docstrings
- Fixed doc tests
Added tests
Fix for python 2.6 - dict comprehension changed

Using a generator expression and the dict() constructor now.
Changed the __eq__ method and added the equal method
Small change
Code cleanup
Docstring fixes, and small bug fix

- Fixed the docstring issues found in code review.
- Also, M_uqd = f_3.jacobian(qd), not f_2.jacobian(qd) as was
written previously.
Removed hash and __eq__ methods
Added deprecation warning for old linearize method

Deprecation cycle plan:
- User must use kwarg `new_method=True` to use the new
functionality.
- If the kwarg is absent or false, the old method is used and a
SymPyDeprecationWarning is thrown.
- After the next release, the old method will be removed, and the
need for this kwarg also removed.
Code cleanup, major docstring edits

Fixed lots of little things. Major edits to the docstrings to fit
the numpydoc format. Some code refactoring as well. Removed the
_general_form method in KanesMethod, as it was small, and fit
better with to_linearizer. Added linearize.py to __init__.py.
Changed linearize interface for op_points

Now have one kwarg instead of several. `op_point` can be either
a single dict, or an iterable of dicts. Results in simpler
interface, and we were combining them all internally later
anyway.