Update jdatetime.class.php

add functionality to get the day of the year and fix calling date by 'W' format string.
to get a day number of year just call jDateTime::getDayNum(12,29)