removing ReflectiveOperationException class as it is jdk7 sepecific
Merge pull request #242 from raghavgautam/urgentfix

removing ReflectiveOperationException class as it is jdk7 sepecific
using switch on enum instead of string
always used non-empty directory
making period as integer
better name for variables
use enum instead of string
extracting method
use enum in place of string
moving method
extracting method
end time is already in UTC
extracting method
suspend feed after retention as defensive measure
cleanup, adding documentation
rearranging code
minor cleanup
more cleanup
moving test specific methods
cleanup