First 14 views using erlang. Don`t merge

Here are first 14 views rewritten to erlang. Its still missing 3 views to be rewriten :

JobsIdsStatesByWorkflow (reduce)
PublicationStateByWorkflow (reduce)
endedSizeByTime (reduce)

monitoring views are ignored, which are not needed for transfers. More details in hypernews...