Calculating calories form macros moved from save to pre_save signal, added time in diary serializer, added REST_FRAMEWORK settings, added REST urls