fix auto link checkbox
fix reference insertion position in list
fix last reference removal
rename getPostsDir to dirTemplate
update CHANGELOG
Prepare 0.5.4 release