Remove restrictions on resource directory names. We can point robolectric to use gradle output directory which does not necessarily have a name ending with /res.

change directories matcher logic

turn directories filter into inner class, add tests for tricky resource path loading

remove path checks depending on file separator

remove all the checks on resources path
Inflating a view using the Application context allows the View#getContext() to resolve #getApplicationContext(). Fixes #757.
Add a WiFi connection to the ConnectivityManager and clean up some tests. Fixes #679
Merge pull request #744 from roman-mazur/feature/gradle-support

Remove restrictions on resource directory names.
Merge pull request #763 from coreydowning/add-wifi-connectivity-manager

Add a WiFi connection to the ConnectivityManager
Merge pull request #761 from coreydowning/application-context-for-inflated-view

Views inflated from Robolectric.application have correct getContext().getApplicationContext()