made methods inline to remove multiple definition errors when used
from multiple .cpp files.

added functionality to remember most recent valid key name, which is
then used in convenience get<T>() method to retrive values that exist.
Merge branch 'master' of https://github.com/erwi/reader