Purify options initializing

Default set to false, only set concerned variable to true.
Seem clearer to see differences between each case like that
(42 deletions seem a miracle !)
Refactor file sending

Isolate sending in a proper function and call it from "send" and
"update" behaviour
Refactoring a bit fast..and make a mistake
Use a regex matching for identifying link
Lifting for retabing in a consistent

one tab, two spaces
Merge pull request #6 from vannell/refactor_update_feature

Refactor update feature 
Major simplification of the code. Thanks!