[#71] Port APK automatic update from develop branch

* Note: The updates trigger is now commented out, until the server side
is ready
[#69] Port duration computation fix from 'develop' branch
[#65] Port Bradcast receiver from 'develop' branch

* Note: Slightly different implementation, as the handler is gone, and
the intent will be dispatched after every survey update. This will keep
the UI fresh.
[#67] Fix Transmissions adapter

* Convert int status to corresponding text
[#43] Move 'fragment' package to 'ui'

* 'ui' will also handle 'view' package within it (after refactor)
[#43] Turn QuestionView base class into a LinearLayout

* Split layout from java code
* Add corresponding layout file
[#43] Add FreetextQuestionView, extending QuestionView

* Update question header layout, so the subclasses <include> this resource
* Add freetext_question_view layout file
[#67] Fix transmissions query

* Add missing columns
[#67] Use boolean type for include attribute

* Avoid using String for flags!
* In the DB, store 1 or 0
[#43] Add MediaQuestionView and its corresponding layout file
[#43] Add barcode question type with its layout file
[#43] Add date question type with its layout file
[#43] Add geo question type with its layout file
[#43] Add OptionQuestionView and its corresponding layout file
[#43] Use LinearLayouts inside Tabs

* Avoid overusing TableLayout everywhere
* Delete unused Question Views
* Regroup 'view' and 'adapter' packages inside 'ui'
[#43] Add LinearLayout orientation programatically

* Inflated LinearLayouts do not inherit orientation (!)
* Use appropriate LayoutParams in each View
[#43] Fix inflated layout reference
[#43] Add submit tab layout

* Automatically call init() and setup() from QuestionView base class
[#43] Add QuestionHeaderView

* Make base class abstract
* Use QuestionHeaderView to display question header
[#43] Use <merge> tag to avoid nested Views

* Configure padding in QuestionView base class
* Inflate layouts with <merge> tag
* Add helper dp2pixel function