initial implement on perturbation theory

initial implement, waiting for the review of upstream
The notebook that describe everything in detail is https://github.com/qutip/qutip-notebooks/pull/12
Please add the standard qutip header (copy from some other files)