adding configdir option
fixing indentation
fixing broken hekad logic for configdir feature and modifying options to auto-detect config path based on file or directory name
changing path.Join to filepath.Join for better cross-platform compatibility
fixing filepath import typo
removing break from hekad config loop to allow multiple hekad config definitions
Merge pull request #348 from michaelgibson/dev

Add support for a config dir instead of just a config file.
Merge branch 'dev' into features/heka-root-folder

Conflicts:
	cmd/hekad/config.go
	cmd/hekad/main.go
Merge typo.
Clarify that a LogfileInput is only created when a matching log file is found, not an
empty directory.
Typo.
Update changelog.
Helps to make sure folders have the +x bit set. :P