Fix OAuth signature computation in OTP R14B02
Fix OAuth signature computation in OTP R14B02

In OTP versions prior to R14B02, the OAuth signature was correctly calculated
due to a bug in the OTP stdlib. This was fixed in R14B02 (OTP-8989, check
http://erlang.org/download/otp_src_R14B02.readme).

Before R14B02:

    Erlang R14B01 (erts-5.8.2) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]

    Eshell V5.8.2  (abort with ^G)
    1> lists:flatten(io_lib:format("%~2.1.0s", [erlang:integer_to_list($+, 16)])).
    "%2B"

In R14B02:

    Erlang R14B02 (erts-5.8.3) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]

    Eshell V5.8.3  (abort with ^G)
    1> lists:flatten(io_lib:format("%~2.1.0s", [erlang:integer_to_list($+, 16)])).
    "%02"

This doesn't affect the erlang-oauth application in trunk, since it's a more recent version
with a different implementation.




git-svn-id: eed9d206131b186e33f41325873c3684e4065c95@1087661 13f79535-47bb-0310-9956-ffa450edef68

breezjw/bigcouch,georgemarshall/bigcouch,andrejb/cloudant_bigcouch,georgemarshall/bigcouch,cloudant/bigcouch,benoitc/bigcouch,linearregression/bigcouch,breezjw/bigcouch,andrejb/cloudant_bigcouch,PerilousApricot/bigcouch,benoitc/bigcouch,benoitc/bigcouch,linearregression/bigcouch,georgemarshall/bigcouch,georgemarshall/bigcouch,kofron/bigcouch,bittorrent/bigcouch,breezjw/bigcouch,PerilousApricot/bigcouch,benoitc/bigcouch,PerilousApricot/bigcouch,cloudant/bigcouch,andrejb/cloudant_bigcouch,bittorrent/bigcouch,kofron/bigcouch,linearregression/bigcouch,kofron/bigcouch,bittorrent/bigcouch,benoitc/bigcouch,linearregression/bigcouch,Asquera/bigcouch,bittorrent/bigcouch,Asquera/bigcouch,georgemarshall/bigcouch,andrejb/cloudant_bigcouch,andrejb/cloudant_bigcouch,PerilousApricot/bigcouch,Asquera/bigcouch,Asquera/bigcouch,kofron/bigcouch,Asquera/bigcouch,georgemarshall/bigcouch,andrejb/cloudant_bigcouch,bittorrent/bigcouch,breezjw/bigcouch,andrejb/cloudant_bigcouch,breezjw/bigcouch,cloudant/bigcouch,kofron/bigcouch,cloudant/bigcouch,linearregression/bigcouch,cloudant/bigcouch,cloudant/bigcouch,linearregression/bigcouch,breezjw/bigcouch,cloudant/bigcouch,PerilousApricot/bigcouch,benoitc/bigcouch,linearregression/bigcouch,PerilousApricot/bigcouch,kofron/bigcouch,Asquera/bigcouch,bittorrent/bigcouch