addADrawer code style

This patch only changes some lines with wrong code style.
restore_icon_state set command variable

This patch only moves the initialization of the variable command
to the variable definition.
DA: restore_icon_state without WScreen

This patch moves the icon restoration mapping where the function
restore_icon_state is used, in the function set_attacheddocks.

Now, the function restore_icon_state doesn't need the WScreen variable.
DA: Set the drawer position before painting it

This patch moves the drawer_map functions to the end of the functions
where drawer_map is used. Now, the drawer position is set before painting it.

Now, the function drawer_map() knows where is the icon and need less code.
DA: Split set_attacheddocks set and map

This patch split the function set_attacheddocks in the functions
set_attacheddocks and map_set_attacheddocks. The function set_attacheddocks
only reads the configuration and then set it.

The function map_set_attacheddocks man the icons in the screen.

The function set_attacheddocks doesn't need the WScreen variable now.
DA: restore_drawer_position set position values only

The function restore_drawer_position sets the position variables only
but doesn't move or paint the icon on the screen.
DA: drawerRestoreState Move map to the bottom

This function only moves the mapping functions to the end of the
function drawerRestoreState.
DA: Split drawerRestoreState set and mapping

This patch split the function drawerRestoreState in the functions
drawerRestoreState and drawerRestoreState_map.

The function drawerRestoreState only set the values, the function
drawerRestoreState_map map the dock and their docks apps in the screen.

We can remove the apps "if" check in the function drawerRestoreState_map
because the map_set_attacheddocks function checks if the icon is NULL.
DA: addADrawer calls drawerRestoreState_map

The function addADrawer calls drawerRestoreState_map and then
map the icon on the screen. We don't need move the Window, because
is already in the right position.

drawerRestoreState_map loads the drawer apps. Because the apps is
null, it doesn't map nothing. No problem.
DA: Move drawer chain creation to the create function

This patch moves the append to the chain to the drawer creation. This patch
also moves the menu creation to the drawer creation.
DA: New function wDrawersRestoreState_map

This patch creates the new function wDrawersRestoreState_map. Now
the drawers are created and painted in the screen.c file and using
different functions for set the drawer values and map (paint) them
on the screen.
Merge pull request #12 from thekix/master

Drawers abstraction