update monthly diary when post.
sort monthly diary array.
Merge branch 'update-monthly-diary-when-post' into develop

update monthly diary when diary is posted and save is succeeded.
sort monthly diary by year and month.
generate condition's startDate and endDate properties.
use util.generateDateCondition for generating condition object.
L45: end must be moment instance.
remove unused function.
create function that generates diary url, and use it.
change for(;;) to _.each()
error callback.
DiaryFuncs -> Diary, DiaryModel -> Diary.DiaryModel.
remove unused require.
remove unused "users".
const.
generate date condition using moment.js.
move generating diary permalink to util's method.
constantize css class name in source code.
it's hard to write "fragment +=" in every line.
remove unnecessary console.log
Merge branch 'refactoring' into develop

refactoring source code.