Introduce entryManager to clean up repeated code in setProperty and getProperty

refs #2589