Bug 448762: StyledText#replaceTextRange(..) sends wrong selection event (length==0)
Bug 394534 - Rewrite DateTime on top of GtkSpinButton

Continuation of Anatoly Spektor's work made for Red Hat adapted to
current master.

Leo: 
. Fixed selection issues:
  - selectField(): async -> sync (fixed selection 'jump back')
  - added mouse button 'up' handler so text is highlighted properly
  	(gtk_button_release_event())

. Fixed crash issue 2014.09.15
	- added guard to gtk_output(..)

. Fixed SWT.DROP_DOWN button size issue in GTK3 2014.09.17
	- onResize() now takes into account padding

. Placed SWT.DROP_DOWN inside text entry so that border is visable
2014.09.19

. Fixed Numberpad Digit keys entry issue 2014.09.22 #9
. Fixed Numberpad Arrow key input issue 2014.09.22 #10

. Fixed issues related to "Vertical fill" style
 - Dropdown button size 
 - popup calendar position

. Implemented workaround for calendar becomming
  un-selectable if vertical fill is set. #445539 
  2014.09.30  #12

. Fixed Calendar crash issue on Gtk2 if horizontal
  fill was used. #14   2014.09.30 

. Fixed glib console messages (as fixed in #699953).
  #16 2014.10.02
  
. Code Refactoring / Clean up

  #17
. Implemented native GTK container logic for Date with Drop 
  Down button. This involved intoducing seperate handles 
  for text and container.
  
. Implemented caching for computeNativeSize

. Removed mouseExit filter so the widget now stays until it 
  is clicked as per Sravan Kumar's request.
  
  #18
. Implemented '0' padding for month/day/hour.

 #19 2014.10.14 
. fixed position of spinner. (trim was not computed) 

 #20 2014.10.16 
- Added calendar mark as per Sravan's suggestion.

 #22 2014.10.23
- Fixed date validation to deal with month changes when day is 
  set to 31 days. This also addresses leap years.

 #23 2014.10.27
- Fixed code style as suggested by Sravan
 
  #25 2014.10.28
  Changed the variable names of handles from handler to handles to make
it consistent

Change-Id: I532271d719768784b0cd63e103b1b9cfee422b64
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Bug 394534 - Rewrite DateTime on top of GtkSpinButton - Resolve 32-bit
errors

Change-Id: I1253349304c461eb1805c0a29d1b1b6b1a58c03e
Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
v4508