Small cleanup in test_code_quality.py

Always use raw strings for regular expressions. Pre-compile a regular
expression.
Use any() instead of filter() in test_code_quality.py

In Python 3, filter returns an iterator, so "if filter(...)" won't work (every
filter will have a bool value of True).

This fixes the code quality tests to work in Python 3 again.
Added functions code
Added tests
Added doctests, rectified default params and tests
PEP8 fixes
Rectified errors
Combined get_motion functionality
Removed whitespace
Removed Vector([]) initialization
Merge pull request #2483 from asmeurer/code_quality

Fix the code quality tests in Python 3
Merge pull request #2453 from srjoglekar246/functions

Added get_motion_params function to mechanics core
integrals.transforms: improved inverse_laplace_transform by partial fractions

Improved the inverse_laplace_transform function by equivolcally breaking the
the given functions into partial fractions and evaluating the sum of
Fourier-Mellin integral of the partial fractions.
There might be some issues with equivocally breaking the function into
partial fractions. They are discussed here:
https://code.google.com/p/sympy/issues/detail?id=1280#c12
After the issue is fixed, partial fractions might be more generically
included in the integration module.
Merge branch 'fix-laplace'