Support providing custom root directory

Make the root directory where to look for the views folders as part of options.  This change would allow caller to set the root directory other than current process directory.  The default for this option of rootDir is current script directory.
Merge pull request #4 from kesavkolla/patch-1

Support providing custom root directory