Extracted cross-build rustic flags to allow native builds.
Add '--test' flag if building for test.
Added run_tests helper that runs all tests in passed compile_rust rule.
Added 'as_dylib' helper.
Added the very basic platformtree macro code with tests.
Added 'rake test' to travis build.
Allow PIC in native builds.