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
This one too.