[sailfish] Fixed overlapping of Label with Bubble

The width was 3*Theme.paddingMedium (or 2*Theme.paddingMedium without
an icon) to big.  Correct calculation:

width: parent.width - anchors.margins
  - (icon.visible ? (icon.width + icon.anchors.margins) : 0)
  - bubble.width - bubble.anchors.margins
  - Theme.paddingMedium

Details:
• anchors.margins
  Padding to anchors.left of Label

• icon.anchors.margins
  Padding between Icon and ListItem

• bubble.anchors.margins
  Padding between Bubble and ListItem

• Theme.paddingMedium
  Padding between Label and Bubble

This commit simplifies the code.
[Refactoring] Javascript: whitepaces + indentation + if-else
[Refactoring] Javascript: if-else
Removed unreachable code
Annotated private functions
Moved processPendingRequests() to EOF
Renamed proxy

The naming now reflects, that the proxy is only being used for images.
[sailfish] Fixed typo

Is  everywhere else.
[Refactoring] JS code style
Removed unused code
Removed unused `requestsPending['token']`
Switch from clearState() to initState()
Code style: whitespace
Renamed updateConfig() to getConfig()
Removed unused code
Added missing callback
Removed unused function isEmpty()

Was introduced in commit 49875713dccbcf8d5c1e179db6108f101a2be0c4 and
is unused since commit f6d004f7eb5a4d9fbdbb8fef898bef45bd3b4008.
Removed unused function dateSortInverse()

Was introduced in commit 8de0de11fdfae05f37a10e3b40a59b88157e738e and
is unused since commit 178fccaeea5e2c5cacd6f9a300c6a79511c590fa.
Moved categorySort() and dateSort() and annotated them as private
Started documenting javascript functions