Fix the handling of Windows file separators

Use the quoteReplacement method to return  literal character
reperesentation of the file separator for any operating system.
Added missing import

Added the import for the java regex Matcher object.
Merge pull request #89 from joemccall86/master

Fix for issue #77
Merge pull request #88 from elek/master

Parameters for sigalg and digestalg of signjar
Use the same sigalg and digestalg when generating debug keystore as is used to sign jar - fix for issue #84
Actually digestalg and keyalg are different things, so i've added a seperate optional variable and defaulted it to RSA
Merge pull request #90 from simonlord/fixdebugkeystoreargs

Fix creation of debug keystore to fix issue #84
Create .android dir in user's home directory if it doesn't already exist. Otherwise keytool flips out with a FileNotFound error as it does not attempt to create missing directories
Add libraryRFilePathOut to ant.dependency call, and libraryRFileRefid to
ant.aapt call. This gets me up and building again after upgrading the
Android SDK to r21.

Sorry for the cut-n-paste, and lack of tests, but I'm new to both
Gradle and Android, and so I'm not sure how to put together a proper fix.
Merge pull request #93 from JustATrick/sdk_r21_fixes

Poor man's support for SDK r21
Merge pull request #92 from simonlord/createAndroidDirIfNonExistent

Create .android dir in user's home directory if it doesn't already exist...