MB-5307: implemented misc:is_binary_ends_with
MB-5307: implemented misc:is_binary_ends_with

Change-Id: I270d84d0d72219bb0395a3f4b97330579f15cfdb
Reviewed-on: http://review.couchbase.org/18796
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

t3rm1n4l/ns_server,daverigby/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,membase/ns_server,ceejatec/ns_server,vzasade/ns_server,mschoch/ns_server,ceejatec/ns_server,ceejatec/ns_server,pavel-blagodov/ns_server,membase/ns_server,daverigby/ns_server,membase/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,membase/ns_server,nimishzynga/ns_server,ceejatec/ns_server,ceejatec/ns_server,mschoch/ns_server,mschoch/ns_server,nimishzynga/ns_server,mschoch/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,vzasade/ns_server,pavel-blagodov/ns_server,vzasade/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server