Clear animations when calling animateIn/Out(0,0).

Animate functions are also used for 'hard' position reset with time==0 and
delay==0 since they keep the animStatus in sync. But I really want to remove
all queued animation in this instance (Only running animation are removed
adding a new Tween).

In particular at load old queued animations with noninitialized parameters are
played after the first _resetPosition().
Hide dock shown with acessibility shortcuts also on Enter press.

Enter on the current focused applicatin was not hiding the dock (this instance
is ot handled by the restacked signal).
Add support for rtl languages.

By default the dock is placed on the right side of the screen following the
overview mirrored layout.

Set the dock anchor point to NORTH_EAST in rtl-mode so the dock doesn't move
when its width changes. Update _set_clip() and _updateStaticBox() accordingly.
Correct settings GUI in rtl-mode.

With left/right swapped some margins were wrong. In addition Gtk.Scale appears
to be buggy in rtl-mode with some of its labels placed in the wrong position.
Implement application based intellihide.

Optionally only windows of the current focused appplication are taken into
account by intellihide when this option is enabled. Also half maximized windows
are considered so that it's possible to work with two windows side by side.
Call _updateVisibility on app based intellihide settings change.
Add a small delay to the intellihide show() function.

Add a small delay to prevent the dock from being quickly shown and then
immediately hidden. This happens for instance with application based
intellihide In the small period of time between the time a window is closed and
next window get focus.
Move anchor point from EAST to WEST when dock is shown/hidden.

Set the main container anchor point to NORTH_EAST or NORTH_WEST when showing or
hiding the dock respectively. In rtl-mode it's the opposite. This avoid to have
to reset the dock position when icon size changes, also preventing some
allocation cycle warnings. Moreover if icon size changes during an animation no
misplacement should occours.

The _updateClip function was updated taking into account the anchor_point
Get rid of now unnecessary _redisplay() function.
App based intellihide: better focused app identification.

If there is not a focused window, consider the window that is on top of the
others of the current workspace to find the currently focused application. This
happenis when focus is given to the desktop window, e.g. clicking on the
nautilus desktop window, when focus is given to some chrome actors such as a
notification or when upon closing the focused window the intellihide check
function is triggered before the next one get focus.
Revert "Add a small delay to the intellihide show() function."

After previous commit 3efe2c7c11ae72e07ff70743204c55ada00bbe42, this is no more
necessary as the application associated to the topmost window is considered as
a fallback when the focused_app is null.

This reverts commit d7ba7025b74cb03581d6285fa69f0903bfa2f998.
Bug: indirectly connect updateClip on allocation-change.

Call _updateClip() inside _updateStaticBox() so that clipping is updated when
allocation changes (_updateStaticBox is connected to the signal). This solves a
minor bug where at load with only autohide enabled the wrong clipping made the
dock insensitive to mouse events and thus prevent it from being shown. Such bug
was not present before commit dad7cbd79932807c84fab0db6bfcc64df4589a7f  since a
further _updateClip was called somewhere on load.
Change some default settings in the schema.
Bug: move anchor points only at the  animation start.

Previously the anchor point was moved from EAST to WEST and viceversa right
when calling _animateIn() and _animateOut(). If another animation was running
and the new one  was added with a delay the old animation loop kept updating
the actor position to final_position based on the worng old anchor point.
Bug: wrong position in multi-monitor (issue #18)

Due to a wrong assumbtion about operation precedence the dock position was
wrongly computed whenever the monitor x origin was different from zero (i.e:
the dock is not placed on the leftmost monitor).

In fact:
   1 + 0?1:0 = 2;
while:
   1 + (0?1:0) = 1;
Bug: update background opacity on extension load.

This bug was introduced by commit fc8485e5700c8243a5af45d6507b08d8a18f3330.
Tune animation timings.
Code clean.

Remove unnecessary variable and replace it with another that already exists.
Remove unused old code. Remove commented out lines and correct some comments
text.
Extend AppWellIcon with a windows indicator.

A custom css style class based on the number of windows of each application is
added to each launcher in the dock (to the  appWellIcon to be precise).

Schema keys added, all default on.
Extend AppWellIcon with a focused app indicator.

".focuses" class is applied to the launcher correspoding to the currently focused app.