UnmarshalStream: Changed it to be like MRI and look for encoding data in all the instance variables, and only use the last one.  All I did was remove the "i==0" condition in defaultVariablesUnmarshal and adjust the indentation accordingly.
Add test:dist target and enable (with errors) in CI.
Fix bug https://github.com/jruby/jruby/issues/1156 .

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
fix the SNAPSHOT naming
fix include list
added ITs for integraty regarding installed gems and bin files
the test/pom.xml just does the bootstrap job. all deploy artifacts which needs the gems from bootstrap also call test/pom.xml
Set ext and src encoding from -K flag.

Fixes #480.
* fix jruby-stdlib include pattern for default gems and their bin files

* added integraty tests for jruby-jars

* jruby-dist uses ALL files from jruby-stdlib and adds ONLY the remaing files from filesystem

* adjusted all integraty tests to new longer list of default gems
Merge branch 'jruby-1_7' of jruby.org:jruby into jruby-1_7
build jruby.jar before running all the mvn profiles
silence the mvn output, make sure rspec is installed
more log for dist targets
remove obsolete dependency
fix IT to follow the project.version instead of hardcoded version

[skip ci]
Add flag to rewrite Java-initiated exception stack traces.

The new flag is rewrite.java.trace=true and will rewrite all Java
exceptions to reflect the Ruby trace. This may be safe to have on
all the time, but the overhead of rewriting the exception may be
enough to leave it off.

Fixes #1313
* Separate helper methods from processing implementation
* Avoid having to load annotation processing during runtime.
* Fixes https://github.com/ruboto/ruboto/issues/545
Use frame class from block, not from context. Fixes #1318.

There's no frame from which to get the class, so we can't get it
from ThreadContext here. Get it from the proc.

Note that there's a more difficult issue here in that there's also
no frame/backtrace/etc on the ThreadContext for invoking a
TracePoint interested in these thread events. Fixing that might
mean making a frame be available at this point, making this fix
unnecessary...but either way the class reference used in this fix
will still be correct.
* Closes #1184 undefined method `__ruby_object' for interface implementation
* Use #equals instead of == to compare the method name String objects since == will return false if the String objects have the same content, but are different instances.
Invalidate last SP before bailing out to dummy. Fixes #1375.