Advanced template gestion

You can choose a template with one string or an Template object
Little enhancement on commit() method: chaining (for HEAD operations)
Fix little blank in draw join
Clean & comment Example