Make BuildThenTestIntegrationTest less flaky.

Summary:
This test specified an exact number of output lines, so it would fail
whenever anything unexpected made it to stderr. Make it look only at the subset
of lines it really needs to check.

Test Plan: Change the expected output and confirm that the test fails.
[buck-ios] include headers in ios_test targets

Summary:
Buck is currently not include headers referenced by srcs in
ios_test rules, which causes problems for test targets that share helper
headers between files (such as FBComposerKit). This fixes that with a
similar fix to @jprado's fix for this for the ios_binary rule in
D1265561.

Test Plan:
built buck, regenerated composer kit xcodeproj, confirmed
headers were now included in test target + it built successfully.
@build-break: Fix ProjectGeneratorTest

Test Plan: run tests
[buck] remove unused private method

Summary: Now unused after D1285855.

Test Plan: buildbot
[ios] Add asset catalog compilation scripts

Summary:
These scripts are used in a custom build phase to compile asset catalogs to the
appropriate target output format.  They are necessary because they differ in
behavior from the default settings for actool when asset catalogs are part of
the resources build phase.

When a target's deployment target is iOS 6 and below, the scripts produce a
hierarchical format (whereas actool places all assets in the root
directory). This makes it difficult to migrate bundles to asset catalogs.

For iOS7 and above, asset catalogs are compiled normally, flattening the
namespace into Assets.car.

This script also transforms actool warnings into errors. Specifically, this
prevents assets with duplicate names resulting in silent problems.

Test Plan: Run ant test.
[ios] Add asset catalog rule and project generation logic

Summary:
This change allows buck to generate Xcode projects that can compile asset
catalogs (supported by Xcode 5+).

Test Plan:
Edit an iOS library project to include an apple_asset_library rule, upon which
the ios_library rule depends. Run buck project and inspect generated
project. Build test target in the project to ensure that asset catalog is
compiled correctly.
Add JavaFileParser, using the Eclipse ASTParser.

Summary:
The autodeps feature needs to be able to parse Java files. Previously we tried
to use the builtin parser in tools.jar, but that got us into a dependency
tangle that probably would've broken on some version of the JDK. It's cleaner
to just check in a parser, and Eclipse's seems like a good candidate.

Test Plan: New unit test included.
Use IOS_BINARY for ios binary rule

Test Plan: Updated test
Fix stlye of TestSelector

Summary: Findbugs was sniffing around these files as being code smelly :)

Test Plan: Unit tests
Revert build_config generator.

Summary: Reverts 91ea52689fb0c53025d847713bc090e161ef9704 to fix attribution.

Test Plan: buck test --all
Implement a build_config generator from https://github.com/facebook/buck/pull/95

Summary:
Simplified the build steps a bit.
Use ProjectFilesystem in GenerateBuildConfigStep, and try-with-resources.
Use System.lineSeparator() for platform independent newlines.
Make field final.
Cleaned up unnecessary getter methods.
Simplified creating buildable/build rule in the unit test.
Fixed styling.

I will follow up with another diff that updates the soy docs.

Test Plan: buck test --all
Helper method to enable `dir` cache in an integration test.

Test Plan: buck test --all
Changing an asset file under an android_resource() rule that does not include any resources should get repackaged.

Summary:
This also explains the issue raised on github:
https://github.com/facebook/buck/issues/100

UberRDotJavaUtil ignores any resources with empty `res` dir argument. Since the
deps of `AaptPackageResources` did not include asset only resources, when an asset
file changed under such rules, we wouldn't run aapt to package resources into the
resulting .ap_.

Test Plan:
Added an integration test which would fail before this fix.

buck test --all
[ios] Fix typo in asset catalog compilation script

Summary:
Made a typo in one of the top level methods of the asset catalog compilation
script.

Test Plan:
Use the script as part of a build phase in a sample Xcode project. No longer see
warnings from actool.
Remove an unthrown IOException from the method signature of Buildable.getBuildSteps()

Summary: We never throw an IOException, so this just added noise to the interface.

Test Plan: buck test --all
The sources of a java_library are now SourcePaths.

Summary: Another step on the road to deleting genfile().

Test Plan: buck test --all
New web site

Summary: Closes #106

Test Plan: Imported from GitHub; no strongly-typed plan
Kill `FileLike.fastHash()` since it's no longer used.

Summary: red-dead

Test Plan: buck test --all
Use the correct function to kill buckd in `bin/buckd`

Test Plan: buckd --kill now works.
Add eclipse jars to buck_common.

Summary: These should have been added in D1269044.

Test Plan: buck test //test/com/facebook/buck/java -f JavaFileParser