fix problem with measurement - correct fields
update ISPyB-interacting code following meeting on 2014-01-07

 * restore old API as much as possible
 * maintain future compatibility by storing blsessionId in tables that
   previously used that
blsession must be passed directly to more methods

 * it is more specific, so cannot be calculated from experimentId or
   proposalId