Started work in SQL-based RecordStore

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
First serious attempt at Mavenising the Collector & Library projects. Several issues remain however:
- loading of library doesn't work in eclipse (loading the project also as a project dependency solves compile-time problems but the library remains missing when an APK is being built...)
- environment2 & filechooser not yet loaded via maven-android-sdk-deployer

On the upside, exploring the possibilities of maven has led me to finally solve the annoying problem in which he BuildInfo.java file was not regenerated after a project clean (due to a known bug in Eclipse: Ant builders not running after clean).
Now the BuildInfo is generate by a project builder which runs mvn which in turn runs the ant script. This only works if a stand-alone Maven installation is present on the system PATH though. Moreover because Eclipse isn't as smart as cmd.exe we need to execute "mvn.bat" (instead of just "mvn", which is resolved to "mvn.bat" when typed into cmd.exe), annoyingly this causes the Collector project configuration to become platform-dependent. However, on OSX or Linux it should suffice to change "mvn.bat" into "mvn" in the builder config to make it work.

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Work in progress

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Some more progress

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Work in progress!

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
More progress, mostly on BinaryTransmission#encodeRecords() & decodeRecords(): new smarter mechanism for factoring-out of columns/values

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Progress:
 - new schema identification mechanism implemented
      modelID = 56 bits, based on projectID (24b, unsigned) & projectHash (32b, signed)
      modelSchemaNo = 4 bits, based on form position
 - almost finished work on StorageClient, TransmissionClient and SapelliCollectorClient
 - got rid of DataAccess and DB4ODataAccess
 - misc stuff
TODO:
 - hashCode() and equals() in Project and related classes!
 - update PrefProjectStore
 - update DB4OProjectStore

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
DB40ProjectStore updated

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Work in progress...

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Fixed bug in CameraController in devices that have not flash

Signed-off-by: Michalis Vitos <info@michalisvitos.gr>
Misc

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Misc

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Moved BitInputStream & BitOutputStream to shared.io package

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>

Conflicts:
	Library/src/uk/ac/ucl/excites/sapelli/transmission/sms/text/TextSMSTransmission.java
Progress: new bitstream & bitarray classes

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Progress!

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Bit more...

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Fix in FloatColumn#hashCode() & FloatColumn#equalRestrictions()

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
hashCode() & equals() methods on all Constraint classes

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
hashCode() equals(Object) implementation for all Collector model classes

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>
Settings fixes

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>