Feature/handle missing params

Added a generic way to specify conditions for calculations through requests and a generalized DSLish way to add boolean flags which can specify conditions for indicator calculations.
Anytime you use a map followed by a flatten, you can instead just use a flatMap.