added some comments
changed version string
Update requestpolicy.dtd
Update requestpolicy.dtd
Update requestpolicy.dtd
Update requestpolicy.properties
when blocking by default, adding possibility to add a blocking rule if there's none yet
GUI icons, blocked requests: considering "default policy"

First, the flag. So far the flag turned red as soon as *anything* was
blocked. With this commit, the flag does turn red *only* if at least one
of the blocked requests were blocked by the default policy ("Block
requests by default" setting)

Second, in the menu in the list of blocked requests, there are now icons.
A question mark means that the default policy applied (see above).
In any other case, a "blocked" sign is shown, this is, there's a rule
(user or subscription rule).

In summary, when "Block requests by default" is set and the flag is red,
you will find question marks in the menu.

This commit affects (and maybe partly solves) issues #98, #368, #389,

on the technical side, I renamed the following functions:
[*] CheckRequestResult:  isAllowed()  →  allowRulesExist()
[*] CheckRequestResult:  isDenied()  →  denyRulesExist()
[*] RequestPolicyService:  _isAllowedByDefaultPolicy() → _checkByDefaultPolicy()
    ---> now returns a CheckRequestResult object instead of true/false.

…new functions:
[*] RequestPolicyService.checkRedirect(originUri, destinationUri)
    ---> same as isAllowedRedirect(), but returns a CheckRequestResult
         object instead of true/false (contains more information).
[*] requestpolicy.menu._extractRequestProperties

a new Class:
[*] Destination
menu options: display number of requests, sorting

Two options have been added.
menu.info.showNumRequests -- default: true
menu.sorting -- default: numRequests

Firstly, support for the number of requests per destination. There is an option to show/hide this information in the menu.

Secondly, there are several options for sorting of the destination-lists.
It's possible to sort by…
(1) …the number of requests (highest number first)
(2) …the destination domain name (alphabetically)
(3) …no sorting at all (like in version 0.5.* until now)

The options can be found in the advanced options.
added zh-CN translations, made by @wenketel
flag color changes in toolbars

this commit resolves RequestPolicy#429 and RequestPolicy#291

Until now, the flag didn't change its color if placed on some toolbars.
With this fix, the flag should change colors on whatever toolbar.
flag color in FF menu and about:customizing

fixes issue RequestPolicy#436:
in the new firefox menu since version 29 it's possible to put the RP flag.
now the flag will be displayed there, and it will change its color like
in the toolbars.

In addition, the flag is always displayed red on the <about:customizing> page.
set version to 1.0.0b4, change install manifest, updateURL

from now on, the beta version can be downloaded as an xpi file from
https://sslsites.de/requestpolicy.256k.de/
and is updated from there also.
bug in checkRequestAgainstSubscriptionPolicies
default-allow mode: confirm "allow" rule (menu)
allowed requests: counter and "default policy"

Like for blocked requests, the number of allowed requests can be displayed
in the menu.

When in default-allow mode, destinations which have been allowed by the
"default policy" are marked by a questionmark, otherwise by an OK icon.
fix a bug introduced with 2d0461f

the bug was related with the "other origins" list. when it was selected,
the destinations didn't populate.
Set version 1.0.0b5
"mixed destinations" in the menu: fix and counter

a small bugfix: every mixed destination was displayed twice.
in addition, I've added a request counter for the mixed destinations.

another small bugfix: in "default deny same domain" mode, questionmarks
haven't been shown.
Set version 1.0.0b6