AJ, first, an observation: having confidently arrived at f'(0) = 0, do you need to check for the second part? :)
More seriously, having found out f'(x), when you apply the limit "as x tends to zero" to the expression, you'll find that the limit does not exist. Hence, the discontinuity at x = 0.
Limit of sin(1/x) as x approaches zero does not exist. You can, however, evaluate the limit of xsin(1/x) as x approaches zero by Sandwich theorem.
Ritu, it's not messy at all! I must admit it did not strike me immediately. Great job!