refactor to extract indent.coffee

extract function to class Indent in indent.coffee. The code look more elegant.