First upload of the qtrl modules

Main module ctrlpulseoptim provides functions for optimising control
pulses for quantum systems. Relies on the other classes for processing.

Examples in the 'examples' folder to demonstrate usage.
License and general PEP8 fixes complete

Added BSD license to all file headers
Line continuation and unnecessary brackets removed
Attribute descriptions added
Parameter descriptions formatted
Examples removed. Working on IPython Notebooks
Currently working on loggng
qutip.logging used in place of print

I have used the logger introduced in pull#248 wherever messages were
printed inside functions. Seems to work pretty well.
I copied the files needed from pull#248. I don't know if this is the
correct procedure, as there are now two copies. I made some changes to
qutip.logging to expose the levels
I am now working on using QuTiP objects wherever possible
Revert "qutip.logging used in place of print"

This reverts commit 67169c6b2f60e07a783a70993613f6a8bdd471d8.
Merge remote-tracking branch 'cgranade/feature-logging'
Update to new logging system
logger changes redone after prev revert
Starting to check Qobj params
Qobj parameter checking added
OptimResult evo_final now Qobj. All qutip imports now relative
Merge branch 'master' of https://github.com/qutip/qutip
Ensure forked master is consistent with qutip/master
especially recently merged logging module
before merge with latest qtrl changes
Merge branch 'ctrl-Qobj_integ'
pulseoptim function parameter checked as Qobj where approprimate
OptimResult.evo_final now Qobj type
qutip.control precedes all imports where appropriate
relative imports added to dynamics.py
empty line added to end of utility.py
write_array_to_file replaced with np.savetxt
meaning that utility module could be deleted
Merge branch 'master' of https://github.com/qutip/qutip
Add recent updates, specifically the fix for the Hadamard gate
Check added to Optimizer.pre_run_check and dynamics.save_amps
to ensure Dynamics.initialise_controls has been run
that is the initial amplitudes have been set
optimisation alg parameters max_metric_corr and opt_alg_acc_fact (now renamed accuracy_factor) now available
as parameter in the pulseoptim funcs
scale_factor for TRACEDIFF fidelity computer now available as parameter in the pulseoptim funcs. Calculated as 1/2N when None
pulse_scaling
pulse_offset also now available as pulseoptim func params
Python3 fixes
xrange -> range
integer division in get_omega
Merge pull request #246 from ajgpitch/master

First upload of the qtrl modules