Add keylistener to app
Make Shoes a class
Stubbing out flush on the App to neglect redrawing

* remove_callbacks only works if a class has been extended with AfterDo
  which happens on app creation... so if the keypress specs run before all
  other specs this method is unknown.
built-in methods
Allow raw images to be passed to `#image`

Adds detection of raw data to be loaded into an image view. This allows
users to display images without writing them to disk first.

* Tries to detect binary data by checking encoding
* Continues with loading assuming the passed String is a path otherwise

* Removes the image mock from the test suite and replaces it by a real
image

* Tests for raw loading behaviour
Merge branch 'feature/binary_images' of github.com:skade/shoes4 into skade-feature/binary_images
Little refactoring of the image SWT implementation
Removed duplicated code from swt image (slipped through my hands)
Create instance of Shoes::LogWindow; Global LOG variable
Merge branch 'master' into fi/console
added docs for the 3-parameter call.  How to view the compiled docs in shoes??
fixed missing 'the'
Merge pull request #366 from DaveCollinsJr/master

added docs for the 3-parameter call.  How to view the compiled docs in shoes?
Refactored the gradient SWT implementation a bit

* Less repetition
* some nicer names
* confusing width, height = height, width removed
Further refactoring on gradient

* corrected some names (e.g. pattern_position --> create pattern)
* extracted further methods, that belong together
* opening PR as request for Feedback/Help :-)
Add information about the number of running samples to the rake samples output

* Analog to the non_samples task
* actually did that weeks back when I wrote the blog post but forgot
  to push. oopsie.
Stubbing out flush on the App to neglect redrawing

* remove_callbacks only works if a class has been extended with AfterDo
  which happens on app creation... so if the keypress specs run before all
  other specs this method is unknown.
Reorder arguments to the usual order
Restore old functionality of gradient

* wow there was some real scoping magic going on in the original
  code (adjustments to angle, width, height etc. where then used
  in the called block without being passed in)
argh fixed nil issue that made the tests fail