Resolving issue where LBFGSB terminates early when fid_err / grad NaN
Found to occur due to to larger elements in evo operators
when the alg choses (for some reason) large amplitudes
fix: upper and lower bounds now actually set when passed as pulseoptim method parameters
add: option to trace evolution: produce test_out file showing the evolution calculation steps at each iteration
fix/fudge: TraceDiff fid_err now defaults np.Inf when computed to NaN
fix/fudge: TraceDiff fid_err_grad now defaults np.Inf when computed to NaN
add: initial fidelity error and gradient calculated during dynamics.initialise_controls
change: stats object cleared each time Optimzer.run_optimization is called
change: result.stats is now a copy of the stats object
Tidying up: grad_norm and test_out_files
FideliyComputer.norm_grad_sq_sum renamed to grad_norm
also now calculted as sqrt(sum(grad**2)),
as this seems to be what the L-BFGS-B uses as a norm
Replaced test_out_files (integer) attribute with specific (Boolean) attributes
for outputting various (7) kinds of test output files.
4 new kinds added. See OptimConfig class for descriptions.
Improved formatting of test out files
remove: initial fidelity error and gradient calculated during dynamics.initialise_controls
        caused errors when using unitary dynamics
Merge branch 'master' of https://github.com/qutip/qutip into qtrl-fix_error_when_fid_err_nan
All file conflicts resolved
Also some errors spotted and fixed

Conflicts:
	qutip/control/dynamics.py
	qutip/control/fidcomp.py
	qutip/control/optimconfig.py
	qutip/control/optimizer.py
	qutip/control/pulseoptim.py
	qutip/control/stats.py
	qutip/control/tslotcomp.py
Merge pull request #294 from ajgpitch/qtrl-fix_error_when_fid_err_nan

Qtrl fix error when fid_err nan