Added "cleanupIfNeeded" public method

Applications may need to explicitly request a disk cache cleanup in some circumstances.

Signed-off-by: Gabriel Herrera <jogah.cr@gmail.com>
Merge pull request #1 from littleinc/feature/gh-cleanup-if-needed

Added "cleanupIfNeeded" public method