Convert tabs to spaces

Add perlcritic policy to prohibit tabs, convert tab to two white space, correct indentation issues.