Merge branch 'dev' of github.com:newrelic/ruby_agent into dev
RUBY-1112 Remove TransactionSampler#append_new_message

There should never be more than one SQL query or memcache key attached to
a single transaction trace segment, so this method is no longer necessary.
RUBY-1112 Extend test_should_not_collect_segments_beyond_limit to validate SQL recording with segment limiting
RUBY-1112 Use find_last_transaction_segment from TransactionSamplerTest
RUBY-1231 Removing more unneeded paths

We treat browser_timing_header as the main entry point now, and don't expect to
call the other methods by themselves. This jives with actual usage, and
simplifies things.

This commit also makes sure that all of the tests hinging on insert_js? will
actually fail if their conditions aren't met, since a bunch of them would pass
even without their segment of insert_js?
Merge pull request #285 from newrelic/RUBY-1231-one-header

RUBY-1231 Consolidate JS agent injection methods
RUBY-1152 Make harvest_and_send_for_agent_commands use send_data_to_endpoint
RUBY-1231 Clean-up before extending logging tests
RUBY-1231 log_once on missing JS agent configs

If we're missing configuration to be able to do JS agent instrumentation, stop
warning on every single request--just warn once.

We still do per-request warning for per-transaction checks and log, but if you
don't have the js_agent_loader in config, we'll just tell you once.
Merge pull request #287 from newrelic/RUBY-1112

RUBY-1112 Remove TransactionSampler#append_new_message
RUBY-1152 Isolate failures in check_for_and_handle_agent_commands
RUBY-1152 Ensure we don't swallow errors requiring us to break the harvest loop
RUBY-1152 Remove now-obsolete error handling logic in transmit_data
RUBY-1152 Remove unused ServerError class

This class was 'reserved for future use', but does not seem to be used in
practice (there are no references to 'ServerError' in the collector).
RUBY-1152 Remove special-case for RuntimeError in WorkerLoop

This special case just changed the log message, and the different message was of
questionable accuracy.
RUBY-1152 Don't rescue SystemExit, NoMemoryError, SignalException only to raise them again

These error classes do not descend from StandardError, which means they wouldn't
have been caught anyway.
RUBY-1152 Remove special-case for Timeouts, ServerConnectionException in WorkerLoop

These errors should never propagate up to this level, and if they do, we want to
hear about how via the general rescue clause for StandardError that follows.
Merge pull request #288 from newrelic/RUBY-1231-log-once

RUBY-1231 log_once on missing JS agent configs
RUBY-1231 Extract Obfuscator class from JavascriptInstrumentor
RUBY-1231 Move Cross App to use Obfuscator

* Updates obfuscator with functionality the cross app tracing and monitoring
  features require.
* Moves testing of obfuscation fully to that class, out of cross app and RUM
* Clarifies names (not license_bytes, but key, since not always license-based)