bookshelf 0.2.2 (upgrade to webmachine 1.10.1)

Upgrade to latest webmachine + mochiweb

Latest versions of webmachine and mochiweb remove the use of
parameterized modules and are safe to use in Erlang R16.

1. Remove covertool as we aren't using it.

2. Add validate_content_checksum/2 callback to bksw_obj resource

   Behavior of webmachine changed as of 1.10.0 such that by default
   any request containing a Content-MD5 header will trigger wm to read
   the request body to compute the md5 checksum. We don't want that
   behavior since we want to stream read the req_body.

Removed deps:

    covertool

Updated deps:

  mochiweb
    2013-04-05 05b5b7e Roll version mochiweb 1.5.1p5 to pick up R16 compat
    2013-03-24 c22b28e Merge pull request #8 from basho/csm-1.5-backported-pmod-fix
    2013-03-23 2deeaf6 Remove parameterized modules.
    2013-03-13 fad02bc Roll mochiweb version 1.5.1p4
    2013-02-18 94cad04 Merge pull request #7 from basho/ss-range-fix
    2013-02-14 38992be Accept range end position which exceededs the resource size
    2013-02-14 3a3b4f9 Remove special treatment of the range "0-"
    2012-11-08 ae29cee Roll version 1.5.1p3
    2012-11-08 bbdea3a Merge branch 'klm-strip-header-values' into 1.5
    2012-11-06 fb1886e Strip header value and treat empty values as undefined headers.
    2012-09-07 b7fe7dc Merge pull request #4 from basho/adt-os-timestamp
    2012-09-07 81335ee erlang:now() -> os:timestamp
    2011-11-23 2984b74 Merge pull request #2 from basho/bz1291-http-error-packets
    2011-11-22 caa6618 HttpError parses are returned as normal packets, not error tuples.

  webmachine
    2013-04-05 4c441d0 Roll version webmachine 1.10.1
    2013-04-05 c6b60f6 Roll dependency on mochiweb to one with R16 compat
    2013-03-14 100ce64 Just rolled WMVS and quip for 1.10, never broke eye contact
    2013-03-14 6b2ec9b Fix dependency of mochiweb on 1.5.1p4
    2013-03-14 3aecf11 Roll webmachine version to 1.10.0
    2013-03-06 d7643cb Merge branch 'klm-zero-byte-known-length-stream'
    2013-03-05 ba63f2f Fix problem with returning 0 byte files with known_length_stream.
    2013-02-27 43bd330 Merge pull request #128 from basho/sdc-fix-multiple-routers
    2013-02-27 2dbe5cb Rename router_name -> dispatch_group and webmachine_router -> default.
    2013-02-22 d02a23a If the name is not given, use 'webmachine'.
    2013-02-22 87a24f0 Only convert the name if it's not already a list.
    2013-02-22 5a3bd3d Distinguish the listener name from the router/routes name.
    2013-02-22 cde8a91 Use multiple dispatch lists instead of multiple routers.
    2013-02-21 75203f1 Merge branch 'klm-multiple-wm-instances'
    2013-02-20 b2ff665 Allow multiple webmachine instance to run in the same app
    2013-02-20 64176ef Merge pull request #125 from bjnortier/guess_less_mimetype
    2013-02-20 6176365 Back to text/css
    2013-02-19 6a58998 Merge branch 'klm-non-stream-range-fix'
    2013-02-18 7338661 Merge pull request #124 from basho/ss-range-refine
    2013-02-15 6416e1f Accept known_length_stream for Range request
    2013-02-19 1a5ec1f Add response switch to ignore a Range header
    2013-02-19 4c2d735 Remove duplicated functions and use mochiweb's ones
    2013-02-12 f112af3 Respond without chunked encoding for single range
    2013-02-19 c93a682 Change rebar deps to mochiweb's 1.5 branch
    2013-02-18 0bbfae6 Fix 500 error on non-streamed GET requests that include a Range header
    2013-02-18 547e142 It should be text/less, not text/css.
    2013-02-18 da9bf2f Guess text/css MIME type for .less files
    2013-02-11 9e4ef74 Merge branch 'klm-event-logging'
    2013-02-07 d521c5e Merge branch 'klm-fix-etag-eqc-test'
    2013-01-03 3bf8b7e Repair and refactoring of the etag eqc test
    2013-02-07 897fed2 Change log refresh to sync calls instead of events
    2013-02-07 cba4419 Fix comment formatting
    2013-02-06 18d7b63 Merge pull request #119 from basho/slf-type-fixes-201302
    2013-02-06 6554232 Minor Dialyzer type fixes for Riak CS
    2013-02-05 9fd5f4a Fix bug in webmachine_log:defer_refresh
    2013-02-05 3f9289d Refactor options processing in webmachine_mochiweb module
    2012-12-18 511601e Use an event handler to dispatch log events
    2013-01-31 8fd088c Merge pull request #118 from basho/wrd-content-length-with-streaming-rebased-1
    2013-01-30 ff60f72 Merge pull request #117 from basho/wrd-base64-content-md5
    2013-01-28 62ef11c Provide empty stream for HEAD reqs w/ known_length_stream
    2011-12-14 5298699 Add func for streaming without prefixing chunk lengths
    2011-12-13 f2a166e Add known_length_stream pattern to wrq module
    2011-12-13 698d52e Add known_length_stream to decision_core
    2011-12-13 fca00e6 Add another stream format with known Content-Length
    2013-01-29 9f682e7 Decode Content-MD5 with base64, not hex
    2013-01-29 8d669b9 Merge pull request #115 from basho/wrd-recv-stream-body-arg-order
    2013-01-29 33cd5f3 Update dependency on mochiweb to 1.5.1p3
    2013-01-28 80289e0 Roll version webmachine 1.9.3
    2013-01-28 a7c3973 Fix arguments to call to webmachine_request:recv_stream_body/2
    2013-01-25 c74abe7 Merge branch 'klm-app-src'
    2013-01-24 693138e Merge branch 'klm-accept-header-test'
    2013-01-24 765aa2a Add eunit test for accept_header_to_media_types
    2013-01-24 60f6f8e Merge pull request #77 from mdaguete/incorrect-accept-header
    2013-01-23 d0b169d Merge pull request #113 from basho/adt-eqc-setup
    2013-01-23 88fea89 Fix setup/teardown for etag EQC test
    2013-01-22 c280ee1 Merge pull request #93 from basho/drop-param-mods
    2013-01-21 6f59679 Merge pull request #106 from basho/adt-ets-dispatch_list
    2013-01-20 58f1266 Merge pull request #102 from mghardy/demo-improvements
    2012-10-17 ffc8dfb change parameterized modules to regular modules
    2013-01-13 72d5892 improve support for media range params in content-type
    2013-01-03 56cfc14 Replace static webmachine.app file with webmachine.app.src
    2012-12-08 154c609 Store the dispatch_list in ETS, not application:set_env
    2012-11-21 2ce3d13 Update demo app: rebar deps, ensure inets is running, improve README
    2012-11-13 75786f4 Merge pull request #101 from basho/jrw-mthd-vsn-rewrite-args
    2012-11-12 b968bdc pass method,scheme,http vsn into rewrite as well
    2012-11-08 c94202d Merge pull request #97 from basho/jrw-rewrite-headers
    2012-11-07 d47bbc8 allow rewriting of headers in addition to raw path
    2012-10-23 c761c3b Merge branch 'env-var-port'
    2012-10-03 bcab56a add support for WEBMACHINE_PORT environment variable
    2012-10-03 67025db use code:which if code:priv_dir fails
    2012-10-23 918f541 Merge branch 'az976-rewrite-module'
    2012-05-06 83af9f8 do not set webmachine:rewrite_module app env var to 'undefined'
    2011-11-28 4bbd403 Redirection support via rewrite_module configuration option
    2012-10-23 a34ee71 Merge branch 'sv-media-type-to-detail'
    2012-10-23 56beb3a Merge branch 'validate-project-name'
    2012-10-23 8ad2a72 Merge branch 'validate-content-md5'
    2012-10-23 6393add validate project name passed to new_webmachine.sh
    2012-10-19 ac48b09 reimplement webmachine_util:media_type_to_detail/1 with mochiweb
    2012-08-24 60d529c Merge branch 'bz1293-remove-resource-with-predicate'
    2012-08-24 766ed32 Merge branch 'bwf-remove-resource-with-host' into bz1293-remove-resource-with-predicate
    2012-08-24 382a645 Add some eunit tests for removing different type of dispatch specs.
    2012-08-23 9c39367 Merge remote branch 'origin/bwf-doc'
    2012-08-22 216d3e0 Merge branch 'bwf-pr46-rebase'
    2012-08-22 f28218e Merge branch 'bwf-pr35'
    2011-11-13 247e1ef Add wrq:base_uri/1 and tests
    2011-11-13 92b6889 Use correct default port for https in webmachine_dispatcher:dispatch
    2012-08-22 6b98738 fix the root of the reversed-location problem
    2012-08-22 e540891 Merge pull request #75 from davidcoallier/expose-get-routes
    2012-08-22 64ba256 Merge pull request #73 from bjnortier/remove_trailing_crlf_from_multipart
    2012-08-22 e1fe842 Merge pull request #86 from basho/klm-fix-wmvsn
    2012-08-22 4d77e47 Bump WMVSN to 1.9.2.
    2012-08-17 27da9f3 Merge pull request #83 from basho/dip_rebar2.0
    2012-08-16 699d7f4 update rebar to 2.0.0
    2012-08-10 c549fd9 Merge pull request #81 from basho/bwf-no-clash
    2012-08-10 9e210a1 remove code:clash call
    2012-07-13 f05a195 Roll version 1.9.2
    2012-07-02 52e62bc Add bot notification.
    2012-06-27 8b6ed42 Add Travis CI hook and build status.
    2012-06-22 37a9141 Incorrect accept header in some blackberry devices:
    2012-05-25 1d532f8 Exposed get_routes() to the public. - Added the ability to use get_routes (Added to exports()) - Did not change the test as the behaviour of get_routes is still tested   and therefore if other tests still run, get_routes runs as well.
    2012-05-17 d3b9c9b Fix for trailing CRLF as per http://lists.therestfulway.com/pipermail/webmachine_lists.therestfulway.com/2010-August/000272.html
    2012-05-07 effab6d Merge remote branch 'origin/slf-201204-type-fixes'
    2012-05-06 1530706 Merge remote branch 'tsloughter/master'
    2012-05-06 d0cdee3 fix resource filtering in host-based dispatch rules
    2012-05-01 8b2a7d5 Merge pull request #68 from basho/skel-priv-dir
    2012-04-30 53ee824 git ignore the .eunit dir
    2012-04-30 b544a32 use code:priv_dir to find application priv directory
    2012-04-05 01f866d Fix dialyzer warnings for webmachine_request:port_string()
    2012-03-16 656aa69 Merge pull request #27 from openx/ox-log-header
    2012-02-19 97acb28 Roll version 1.9.1
    2012-01-28 5d8e584 added necessary dep mochiweb to app file
    2011-12-20 88145ff Update dep on mochiweb to include http error packets fix from @seancribbs
    2011-12-19 8d8cb3d Merge branch 'riak-1.0.x'
    2011-12-19 38a78fd Merge branch 'adt-fix-exit-normal-error' into riak-1.0.x
    2011-12-19 4537c03 Merge remote-tracking branch 'origin/riak-1.0.x'
    2011-12-09 7e71e97 Merge pull request #51 from spawngrid/custom-server-name
    2011-12-09 1ab6743 use keytake instead of keyfind to avoid walking the list twice
    2011-12-09 88a6cc9 Merge remote branch 'roder/remove-proplists' into bwf-remove-proplists
    2011-12-09 1670884 Merge pull request #36 from ulfa/patch-2
    2011-12-09 a4940cc Merge pull request #42 from kardan/master
    2011-12-09 2045ccf Merge remote branch 'origin/djr-skeleton_sup_child_spec_module'
    2011-12-09 13de746 Merge remote branch 'lemenkov/drop-useless-include'
    2011-12-08 85e627a Custom Server header support.
    2011-12-07 d95349f Suppress the error generated when webmachine_request does an exit(normal)
    2011-11-24 1c814dc BZ1293: Fix filter_by_resource to handle the 4-tuple format that includes a predicate fun.
    2011-09-28 8c51ed1 Added support for popular mime types such as webfonts, mp4, webm and ogg. Sorted the types based on file name extension
    2011-09-12 22e2d5b correct edoc
    2011-08-15 cd90919 I used create_path in my resource and when i used wrq:disp_path i expected not the full path. After viewing at the sources, i saw that you set the FullPath and not the NewPath in line 441. I changed this to the NewPath.
    2011-07-05 667ac6c Add generic error rendering routine to simplify internal decision responses.
    2011-07-05 bfedd4c Capture the request body when streaming for MD5 validation.
    2011-07-05 473c029 Validate Content-MD5 when present, with optional resource callback.
    2011-06-09 48e243f Move webmachine_logger.hrl to include directory.
    2011-05-18 35fe305 removes proplists in favor of lists:keyfind for performance
    2011-03-18 3ac7401 Change the child spec module in the webmachine supervisor template.
    2011-01-10 2a1f98b Drop unused include
Fix use of filelib:wildcard to conform to R16 changes
Add missing type export in bksw_conf

In R16 it is an error to define an opaque type without also exporting
the type.
Dialyzer fixes
Specify otp vsn support of R15 or R16 and drop R14
Improve manual_start to error early and clearly if app start fails
Make app list in reltool.config match manual_start requirements

We were missing ibrowse in particular and on R16 this was causing the
release to fail to boot.
Move mochiweb back into normal applications list

We aren't starting a mochiweb supervisor so it doesn't make sense in
included_applications.