Improve initialization
Use const references rather than just const
Getters should be constant
Simplified QString getter handling
Asserts if QString parameters are empty
Merge pull request #1 from samuelgaist/code_cleanup

Minor code cleanup