Commit changes for Merge with Jayce branch

Signed-off-by: Danny Price <dan@thetelegraphic.com>
Merge remote-tracking branch 'Jayce-fork/master'

Signed-off-by: Danny Price <dan@thetelegraphic.com>

Conflicts:
	interfits.py
	ledafits.py

Both Jayce and I have been working on LEDA64-NM integration. Jayce's solution to handling both was a little more elegant so I've adopted his where possible. Will definitely need to check for merging bugs!

I am moving toward UVW-based geometric delay calculation; that is, when phasing UVW coordinates to a source, the WW coordinate is equivalent to the geometric delay. As such, the pointing vector method for calculating tg is redundant.

Next steps will be to do rigorous testing on generateUVW routine, and make sure that the antenna positions written to ARRAY_GEOMETRY are in correct coordinates.
Updated UVW computation and numerous other mods

leda/interfits.py:
* Added initialize_site() method -- this creates a pyEphem observer. For LEDA, it will load the data from JSON config files. Otherwise, it will use ecef2geo (Bowring's method) to compute lat-long-elev

lib/coords.py:
* moved generateBaselineIds() to coords
* updated computeUVW() -- now faster (no longer does matrix calc). Removed old version. Will now accept numpy arrays of baselines xyz vectors
* added computeBaselineVectors() method
* very basic unit-test for computeBaselineVectors() in test/00_test_coords.py

qtuv.py
* Now uses ledafits as default, so can read dada files without panicking.

test_nm/
* miscellaneous test stuff. test_phs2src.py is of particular note, it tests the phasing routines (UVW coordinates),
* Test of dada writer vs. old lconverter method - compare_lalc_dada.py. Seems to suggest dada reader is ok...

Signed-off-by: Danny Price <dan@thetelegraphic.com>
Added INTTIM parsing from dada header, improved timestamping

readDada routine now also reads in dada headers to calculate INTTIM.
Moved DATE / TIME calculations into readDada and out of generateUVW.
Added phase_to_src() call in readDada(), so that a complete file is generated without having to call this manually.

Signed-off-by: Danny Price <dan@thetelegraphic.com>
Merged in Danny's recent changes and added in a few of my LSL-based analysis scripts.